Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.001711/0.001711, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002508/0.002508, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.708/1.708, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.3052/0.3052, allocations: 44.94 MB / 358.8 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") [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.002192/0.002192, allocations: 68.17 kB / 0.4935 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3808, allocations: 65.47 MB / 0.5574 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004376/0.3852, allocations: 2.515 MB / 0.5599 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3866, allocations: 0.7437 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.3867, allocations: 15.94 kB / 0.5606 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.3869, allocations: 75.36 kB / 0.5607 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.3872, allocations: 107.2 kB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.3875, allocations: 107.8 kB / 0.5609 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.388, allocations: 430.2 kB / 0.5613 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.3883, allocations: 91.86 kB / 0.5614 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.3885, allocations: 155.5 kB / 0.5616 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.3887, allocations: 147.2 kB / 0.5617 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.399e-05/0.3888, allocations: 32 kB / 0.5617 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.193e-05/0.3888, allocations: 36 kB / 0.5618 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.33e-05/0.3889, allocations: 71.7 kB / 0.5618 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.3891, allocations: 151.2 kB / 0.562 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005058/0.3896, allocations: 440.6 kB / 0.5624 GB, free: 2.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3896, allocations: 0 / 0.5624 GB, free: 2.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3896, allocations: 4 kB / 0.5624 GB, free: 2.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3896, allocations: 0 / 0.5624 GB, free: 2.383 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001171/0.3908, allocations: 0.6066 MB / 0.563 GB, free: 1.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3908, allocations: 11.98 kB / 0.563 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.618e-05/0.3909, allocations: 40.7 kB / 0.563 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.3913, allocations: 228.9 kB / 0.5633 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.3913, allocations: 29.38 kB / 0.5633 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.3913, allocations: 28.38 kB / 0.5633 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006722/0.392, allocations: 362.2 kB / 0.5637 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.392, allocations: 3.938 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.3921, allocations: 12 kB / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.3921, allocations: 8 kB / 0.5637 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.3927, allocations: 271.8 kB / 0.5639 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.3947, allocations: 1.156 MB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.3953, allocations: 194.5 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.3955, allocations: 79.52 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.3956, allocations: 4 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.3956, allocations: 38.5 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.3956, allocations: 0 / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008113/0.3964, allocations: 253.9 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.3965, allocations: 140.4 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.3968, allocations: 288.5 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.3969, allocations: 33.64 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.3971, allocations: 255.9 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.3971, allocations: 59.52 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/0.3972, allocations: 54.06 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3974, allocations: 338.8 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.3976, allocations: 80.5 kB / 0.5668 GB, free: 13.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.3979, allocations: 164.2 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000538/0.3985, allocations: 259 kB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3985, allocations: 4 kB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006789/0.3992, allocations: 305.1 kB / 0.5675 GB, free: 12.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3992, allocations: 8 kB / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3992, allocations: 4 kB / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.3992, allocations: 7.938 kB / 0.5675 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.3996, allocations: 92.11 kB / 0.5676 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3996, allocations: 4 kB / 0.5676 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.3999, allocations: 47.75 kB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.3999, allocations: 8 kB / 0.5677 GB, free: 12.61 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.0001552/0.4001, allocations: 149.7 kB / 0.5678 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.671e-05/0.4002, allocations: 27.81 kB / 0.5678 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.264e-05/0.4003, allocations: 29.52 kB / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4003, allocations: 4 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4003, allocations: 0 / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.4003, allocations: 8 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000782/0.401, allocations: 0.4975 MB / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.401, allocations: 0 / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.4013, allocations: 59.88 kB / 0.5684 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4013, allocations: 4 kB / 0.5684 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.4014, allocations: 4 kB / 0.5684 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.4014, allocations: 8.156 kB / 0.5684 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4014, allocations: 8.047 kB / 0.5684 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.402, allocations: 390.8 kB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.402, allocations: 27.78 kB / 0.5688 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.4021, allocations: 8 kB / 0.5689 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.4023, allocations: 11.98 kB / 0.5689 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.4024, allocations: 31.84 kB / 0.5689 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.4024, allocations: 4 kB / 0.5689 GB, free: 11.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002172/0.4026, allocations: 203 kB / 0.5691 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4026, allocations: 0 / 0.5691 GB, free: 11.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.403, allocations: 75.78 kB / 0.5692 GB, free: 10.98 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.0001009/0.4031, allocations: 103.2 kB / 0.5693 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005584/0.4037, allocations: 183.8 kB / 0.5694 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4037, allocations: 0 / 0.5694 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.4039, allocations: 83.81 kB / 0.5695 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.4043, allocations: 17.41 kB / 0.5695 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.4054, allocations: 0.5655 MB / 0.5701 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.4056, allocations: 172.5 kB / 0.5703 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.753e-05/0.4057, allocations: 21.91 kB / 0.5703 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.4057, allocations: 15.44 kB / 0.5703 GB, free: 9.762 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4057, allocations: 0 / 0.5703 GB, free: 9.762 MB / 414.1 MB Notification: Performance of Templates: time 0.005614/0.4113, allocations: 1.892 MB / 0.5721 GB, free: 7.891 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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: 5.750975271686912]