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.001425/0.001425, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001774/0.001774, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.558/1.558, allocations: 230.6 MB / 257.5 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.238/0.238, allocations: 44.94 MB / 358.8 MB, free: 6.035 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",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.00212/0.00212, allocations: 61.62 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3457, allocations: 65.47 MB / 0.5569 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004524/0.3502, allocations: 2.362 MB / 0.5593 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.3522, allocations: 1.012 MB / 0.5602 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.3523, allocations: 8 kB / 0.5603 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.3536, allocations: 481.9 kB / 0.5607 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.354, allocations: 115.2 kB / 0.5608 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009984/0.355, allocations: 450.3 kB / 0.5613 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.3553, allocations: 227 kB / 0.5615 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004397/0.3558, allocations: 220.3 kB / 0.5617 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.3559, allocations: 99.7 kB / 0.5618 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.3561, allocations: 111.5 kB / 0.5619 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.3562, allocations: 24 kB / 0.5619 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.3565, allocations: 147.8 kB / 0.562 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.3565, allocations: 51.83 kB / 0.5621 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.543e-05/0.3566, allocations: 83.61 kB / 0.5622 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.3572, allocations: 410.5 kB / 0.5626 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3572, allocations: 7.938 kB / 0.5626 GB, free: 1.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3572, allocations: 0 / 0.5626 GB, free: 1.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.3572, allocations: 0 / 0.5626 GB, free: 1.75 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.001356/0.3585, allocations: 0.556 MB / 0.5631 GB, free: 1.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3586, allocations: 8.031 kB / 0.5631 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.473e-05/0.3587, allocations: 54.73 kB / 0.5632 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003636/0.359, allocations: 56.7 kB / 0.5632 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.3592, allocations: 138.2 kB / 0.5634 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.3592, allocations: 20.88 kB / 0.5634 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.3593, allocations: 24.38 kB / 0.5634 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/0.3599, allocations: 290.7 kB / 0.5637 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.3599, allocations: 0 / 0.5637 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.3599, allocations: 12 kB / 0.5637 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.3599, allocations: 4 kB / 0.5637 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005945/0.3605, allocations: 233.6 kB / 0.5639 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.3621, allocations: 0.8676 MB / 0.5648 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.3626, allocations: 208 kB / 0.565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/0.363, allocations: 125.7 kB / 0.5651 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.3631, allocations: 23.98 kB / 0.5651 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3631, allocations: 30.56 kB / 0.5651 GB, free: 14.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.803e-06/0.3631, allocations: 4 kB / 0.5651 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001218/0.3643, allocations: 351.2 kB / 0.5655 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.3644, allocations: 81.11 kB / 0.5656 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.3646, allocations: 144.1 kB / 0.5657 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3646, allocations: 25.81 kB / 0.5657 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3647, allocations: 156.4 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/0.3648, allocations: 71.41 kB / 0.5659 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3649, allocations: 37.72 kB / 0.566 GB, free: 14.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3651, allocations: 322.8 kB / 0.5663 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.3653, allocations: 67.94 kB / 0.5663 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.3656, allocations: 123.6 kB / 0.5665 GB, free: 13.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.3661, allocations: 204.8 kB / 0.5667 GB, free: 13.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3661, allocations: 0 / 0.5667 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007023/0.3668, allocations: 290.9 kB / 0.5669 GB, free: 13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.3668, allocations: 4 kB / 0.5669 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3668, allocations: 4 kB / 0.5669 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.367, allocations: 45.69 kB / 0.567 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.3672, allocations: 48.09 kB / 0.567 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.3696, allocations: 2.637 MB / 0.5696 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.3698, allocations: 23.88 kB / 0.5696 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.3698, allocations: 11.94 kB / 0.5696 GB, free: 9.988 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.0001593/0.37, allocations: 138 kB / 0.5698 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.37, allocations: 7.953 kB / 0.5698 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007612/0.3708, allocations: 272 kB / 0.57 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3708, allocations: 7.938 kB / 0.57 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3708, allocations: 4.141 kB / 0.57 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.3708, allocations: 7.984 kB / 0.5701 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.3721, allocations: 0.5906 MB / 0.5706 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.3721, allocations: 4 kB / 0.5706 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.3723, allocations: 32.03 kB / 0.5707 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000151/0.3724, allocations: 53.69 kB / 0.5707 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.3724, allocations: 4 kB / 0.5707 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00253/0.375, allocations: 2.625 MB / 0.5733 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.375, allocations: 4.031 kB / 0.5733 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.376, allocations: 0.5141 MB / 0.5738 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.3761, allocations: 19.92 kB / 0.5738 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3761, allocations: 0 / 0.5738 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3763, allocations: 19.92 kB / 0.5738 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.3764, allocations: 27.89 kB / 0.5739 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.3764, allocations: 8.062 kB / 0.5739 GB, free: 5.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.3765, allocations: 109.6 kB / 0.574 GB, free: 5.203 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3765, allocations: 3.938 kB / 0.574 GB, free: 5.199 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005015/0.377, allocations: 71.84 kB / 0.574 GB, free: 5.129 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.001479/0.3785, allocations: 1.083 MB / 0.5751 GB, free: 4.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008057/0.3793, allocations: 409.3 kB / 0.5755 GB, free: 3.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3793, allocations: 0 / 0.5755 GB, free: 3.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000461/0.3798, allocations: 329.1 kB / 0.5758 GB, free: 3.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.3802, allocations: 12.44 kB / 0.5758 GB, free: 3.227 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.3842, allocations: 2.363 MB / 0.5781 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.3843, allocations: 125.2 kB / 0.5782 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.453e-05/0.3844, allocations: 17.42 kB / 0.5783 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3845, allocations: 55.42 kB / 0.5783 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3845, allocations: 0 / 0.5783 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04003/0.4246, allocations: 5.037 MB / 0.5832 GB, free: 11.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.16, allocations: 6.516 kB / 0.5832 GB, free: 11.61 MB / 430.1 MB " [Timeout remaining time 648] (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.278112727683038]