Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2414/0.2414, allocations: 44.94 MB / 359.6 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 59.91 kB / 0.4938 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3688, allocations: 65.48 MB / 0.5577 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004832/0.3736, allocations: 2.36 MB / 0.56 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.3759, allocations: 1.012 MB / 0.561 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.3761, allocations: 8 kB / 0.561 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.3776, allocations: 481.9 kB / 0.5615 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004637/0.3781, allocations: 107.2 kB / 0.5616 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3792, allocations: 450.3 kB / 0.562 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.3797, allocations: 231 kB / 0.5622 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005577/0.3802, allocations: 228.3 kB / 0.5624 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.3805, allocations: 103.6 kB / 0.5625 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.3807, allocations: 127.5 kB / 0.5627 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.54e-05/0.3808, allocations: 24 kB / 0.5627 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.3812, allocations: 147.9 kB / 0.5628 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.3813, allocations: 51.83 kB / 0.5629 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.3814, allocations: 91.58 kB / 0.563 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000658/0.382, allocations: 406.5 kB / 0.5633 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.382, allocations: 0 / 0.5633 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.382, allocations: 0 / 0.5633 GB, free: 1.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3821, allocations: 4 kB / 0.5634 GB, free: 1.754 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001488/0.3835, allocations: 0.5541 MB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.3836, allocations: 8.031 kB / 0.5639 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.758e-05/0.3836, allocations: 8.688 kB / 0.5639 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.603e-05/0.3837, allocations: 58.73 kB / 0.564 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003548/0.3841, allocations: 52.75 kB / 0.564 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3842, allocations: 138.2 kB / 0.5641 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.3842, allocations: 16.88 kB / 0.5642 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.3843, allocations: 24.38 kB / 0.5642 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006716/0.385, allocations: 294.5 kB / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.385, allocations: 0 / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.385, allocations: 8 kB / 0.5645 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.385, allocations: 8 kB / 0.5645 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006055/0.3856, allocations: 233.5 kB / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.3872, allocations: 0.8793 MB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.3877, allocations: 203.7 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.3881, allocations: 129.7 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.3882, allocations: 19.98 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.3882, allocations: 42.48 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.3882, allocations: 0 / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001203/0.3894, allocations: 347.2 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.3895, allocations: 81.11 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.3896, allocations: 140.2 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.3896, allocations: 25.7 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3897, allocations: 156.4 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.303e-05/0.3898, allocations: 67.39 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.3899, allocations: 37.7 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.39, allocations: 326.8 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.3903, allocations: 63.95 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.3905, allocations: 123.5 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.391, allocations: 209 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.391, allocations: 0 / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006686/0.3917, allocations: 274.9 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3917, allocations: 8 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3917, allocations: 3.984 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.3919, allocations: 53.64 kB / 0.5678 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.3921, allocations: 44.16 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.3945, allocations: 2.629 MB / 0.5704 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.3946, allocations: 35.8 kB / 0.5704 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3947, allocations: 8 kB / 0.5704 GB, free: 9.992 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.3948, allocations: 149.8 kB / 0.5706 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.3949, allocations: 7.953 kB / 0.5706 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007076/0.3956, allocations: 260.2 kB / 0.5708 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3956, allocations: 4 kB / 0.5708 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3956, allocations: 4 kB / 0.5708 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3956, allocations: 0 / 0.5708 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.3968, allocations: 0.5945 MB / 0.5714 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.3968, allocations: 7.938 kB / 0.5714 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.397, allocations: 35.97 kB / 0.5715 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001605/0.3972, allocations: 57.88 kB / 0.5715 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.3972, allocations: 11.94 kB / 0.5715 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.3995, allocations: 2.625 MB / 0.5741 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3995, allocations: 4.031 kB / 0.5741 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.4005, allocations: 0.5141 MB / 0.5746 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.4006, allocations: 15.94 kB / 0.5746 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.4006, allocations: 4 kB / 0.5746 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.4008, allocations: 23.91 kB / 0.5746 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.4009, allocations: 23.91 kB / 0.5747 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.4009, allocations: 4 kB / 0.5747 GB, free: 5.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.694e-05/0.401, allocations: 109.4 kB / 0.5748 GB, free: 5.199 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.401, allocations: 0 / 0.5748 GB, free: 5.199 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004931/0.4015, allocations: 79.83 kB / 0.5748 GB, free: 5.121 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001454/0.4029, allocations: 1.073 MB / 0.5759 GB, free: 4.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008103/0.4037, allocations: 416.3 kB / 0.5763 GB, free: 3.582 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4037, allocations: 0 / 0.5763 GB, free: 3.582 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.4042, allocations: 321.2 kB / 0.5766 GB, free: 3.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.4047, allocations: 22.98 kB / 0.5766 GB, free: 3.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.4083, allocations: 2.36 MB / 0.5789 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.4085, allocations: 121.2 kB / 0.579 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.964e-05/0.4086, allocations: 17.42 kB / 0.579 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.4087, allocations: 63.41 kB / 0.5791 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4087, allocations: 0 / 0.5791 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.442, allocations: 4.733 MB / 0.5837 GB, free: 11.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.56, allocations: 15.66 kB / 0.5837 GB, free: 11.91 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.781824027071707]