Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001656, allocations: 109 kB / 21.23 MB, free: 0.6719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002023/0.002023, allocations: 209.2 kB / 24.53 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2453/0.2453, allocations: 46.93 MB / 361.6 MB, free: 4.219 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 75.88 kB / 0.497 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3321, allocations: 66.09 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004264/0.3364, allocations: 2.715 MB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3377, allocations: 0.7983 MB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.3378, allocations: 8 kB / 0.5649 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.338, allocations: 63.39 kB / 0.565 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.3383, allocations: 115.2 kB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.3385, allocations: 115.8 kB / 0.5652 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.339, allocations: 418.3 kB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.3392, allocations: 103.8 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.3394, allocations: 151.4 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.3396, allocations: 167.2 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.385e-05/0.3397, allocations: 32 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.492e-05/0.3398, allocations: 40 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/0.3398, allocations: 83.67 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.34, allocations: 183 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.3405, allocations: 428.3 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3405, allocations: 0 / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3405, allocations: 0 / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.3406, allocations: 0 / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001212/0.3418, allocations: 0.6066 MB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3418, allocations: 8.031 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.621e-05/0.3419, allocations: 74.66 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.621e-05/0.342, allocations: 40.7 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.3424, allocations: 224.9 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.3424, allocations: 29.36 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.3425, allocations: 40.38 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007576/0.3432, allocations: 358 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3433, allocations: 0 / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.3433, allocations: 12 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.66e-05/0.3433, allocations: 12 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000629/0.344, allocations: 267.8 kB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.3461, allocations: 1.3 MB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.3466, allocations: 186.6 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.3468, allocations: 83.5 kB / 0.5699 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.3469, allocations: 0 / 0.5699 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3469, allocations: 50.55 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.3469, allocations: 0 / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007823/0.3477, allocations: 249.2 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.412e-05/0.3478, allocations: 132.6 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.3482, allocations: 341.7 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.3482, allocations: 29.7 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.3484, allocations: 248.1 kB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.3484, allocations: 55.53 kB / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.54e-05/0.3485, allocations: 53.94 kB / 0.571 GB, free: 10.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3487, allocations: 346.8 kB / 0.5713 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.349, allocations: 80.5 kB / 0.5714 GB, free: 9.852 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.3493, allocations: 176.1 kB / 0.5716 GB, free: 9.641 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.3498, allocations: 259 kB / 0.5718 GB, free: 9.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3498, allocations: 0 / 0.5718 GB, free: 9.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006545/0.3504, allocations: 301.1 kB / 0.5721 GB, free: 9.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3505, allocations: 11.98 kB / 0.5721 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3505, allocations: 4 kB / 0.5721 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3505, allocations: 7.938 kB / 0.5721 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.3509, allocations: 92.12 kB / 0.5722 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.3509, allocations: 11.92 kB / 0.5722 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.3512, allocations: 43.72 kB / 0.5723 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.3512, allocations: 12 kB / 0.5723 GB, free: 8.867 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.3513, allocations: 158.5 kB / 0.5724 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.957e-05/0.3514, allocations: 27.81 kB / 0.5725 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.766e-05/0.3515, allocations: 34.48 kB / 0.5725 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3515, allocations: 8 kB / 0.5725 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3515, allocations: 0.5625 kB / 0.5725 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3515, allocations: 4 kB / 0.5725 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008445/0.3524, allocations: 0.5555 MB / 0.573 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3524, allocations: 4 kB / 0.5731 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.3526, allocations: 60.09 kB / 0.5731 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3526, allocations: 4 kB / 0.5731 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.3527, allocations: 11.94 kB / 0.5731 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3527, allocations: 3.938 kB / 0.5731 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3527, allocations: 4 kB / 0.5731 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.3533, allocations: 402.7 kB / 0.5735 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.3533, allocations: 27.81 kB / 0.5735 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.3533, allocations: 15.92 kB / 0.5736 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.3536, allocations: 19.92 kB / 0.5736 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.3536, allocations: 7.984 kB / 0.5736 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3536, allocations: 8 kB / 0.5736 GB, free: 7.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002581/0.3539, allocations: 239.2 kB / 0.5738 GB, free: 7.184 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3539, allocations: 0 / 0.5738 GB, free: 7.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.3543, allocations: 71.83 kB / 0.5739 GB, free: 7.113 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008647/0.3552, allocations: 0.9343 MB / 0.5748 GB, free: 6.133 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005287/0.3557, allocations: 199.1 kB / 0.575 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3557, allocations: 0 / 0.575 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.356, allocations: 79.88 kB / 0.5751 GB, free: 5.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.3564, allocations: 21.44 kB / 0.5751 GB, free: 5.844 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/0.3605, allocations: 2.997 MB / 0.578 GB, free: 2.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.361, allocations: 0.7753 MB / 0.5788 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.3611, allocations: 30.2 kB / 0.5788 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.3612, allocations: 103.4 kB / 0.5789 GB, free: 1.73 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3612, allocations: 0 / 0.5789 GB, free: 1.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.3901, allocations: 5.165 MB / 0.5839 GB, free: 12.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.503/8.893, allocations: 0 / 0.5839 GB, free: 12.64 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sources.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.930514513049275] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSource.V_m', 'constantSource.Phi', 'signalSource.V_m', 'signalSource.Phi', 'constantSource1.Phi', 'constantSource1.V_m', 'signalSource1.Phi', 'signalSource1.V_m'] 8.977302919141948 9.005510315 8.659838909 Calling exit ...