Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.00183/0.00183, 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.002148/0.002148, allocations: 211.9 kB / 23.73 MB, free: 4.391 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.647/1.647, 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.2296/0.2296, allocations: 44.93 MB / 358.8 MB, free: 6.047 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: translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [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.002198/0.002198, allocations: 75.88 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.373, allocations: 65.47 MB / 0.5574 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005234/0.3782, allocations: 3.245 MB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.3798, allocations: 0.7867 MB / 0.5614 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.38, allocations: 8 kB / 0.5614 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.3802, allocations: 79.23 kB / 0.5615 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.3805, allocations: 130.8 kB / 0.5616 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.3809, allocations: 127.8 kB / 0.5617 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000579/0.3815, allocations: 0.5219 MB / 0.5622 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.3818, allocations: 174 kB / 0.5624 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.3821, allocations: 215.3 kB / 0.5626 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.3823, allocations: 203 kB / 0.5628 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.634e-05/0.3824, allocations: 48 kB / 0.5628 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.51e-05/0.3825, allocations: 48 kB / 0.5629 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3826, allocations: 115.6 kB / 0.563 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.3828, allocations: 203.1 kB / 0.5632 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006332/0.3834, allocations: 0.559 MB / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3834, allocations: 0 / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3834, allocations: 0 / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.3835, allocations: 4 kB / 0.5637 GB, free: 0.9961 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001353/0.3848, allocations: 0.6939 MB / 0.5644 GB, free: 280 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3848, allocations: 12.03 kB / 0.5644 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3849, allocations: 56.61 kB / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.3855, allocations: 267.8 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.3856, allocations: 37.38 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.3856, allocations: 44.38 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008805/0.3865, allocations: 0.5067 MB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.3865, allocations: 0 / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.3866, allocations: 20 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.3866, allocations: 16 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007363/0.3873, allocations: 328.1 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.3897, allocations: 1.444 MB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/0.3902, allocations: 233 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.3906, allocations: 125.6 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3906, allocations: 4 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.3906, allocations: 38.56 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.3906, allocations: 0 / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003014/0.3936, allocations: 1.134 MB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.3937, allocations: 81.11 kB / 0.5686 GB, free: 11.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.394, allocations: 261.8 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.394, allocations: 37.7 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.3942, allocations: 268.1 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.3943, allocations: 122.9 kB / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.3944, allocations: 74.12 kB / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3946, allocations: 334.8 kB / 0.5697 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.3949, allocations: 108.8 kB / 0.5698 GB, free: 10.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.3952, allocations: 212.3 kB / 0.57 GB, free: 10.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006348/0.3959, allocations: 352.5 kB / 0.5703 GB, free: 9.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3959, allocations: 0 / 0.5703 GB, free: 9.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008276/0.3967, allocations: 416.4 kB / 0.5707 GB, free: 9.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3967, allocations: 8 kB / 0.5707 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3967, allocations: 4 kB / 0.5707 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.3968, allocations: 28.84 kB / 0.5708 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.3973, allocations: 115.9 kB / 0.5709 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.3985, allocations: 1.327 MB / 0.5722 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.3987, allocations: 19.98 kB / 0.5722 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.3987, allocations: 16 kB / 0.5722 GB, free: 7.797 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.3989, allocations: 157.8 kB / 0.5723 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.399, allocations: 35.75 kB / 0.5724 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.486e-05/0.3991, allocations: 38.11 kB / 0.5724 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3991, allocations: 8.062 kB / 0.5724 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3991, allocations: 0 / 0.5724 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3991, allocations: 7.984 kB / 0.5724 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.4003, allocations: 0.5888 MB / 0.573 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4003, allocations: 0 / 0.573 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.4007, allocations: 87.88 kB / 0.5731 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.892e-05/0.4008, allocations: 37.03 kB / 0.5731 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.4008, allocations: 11.94 kB / 0.5731 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.402, allocations: 1.3 MB / 0.5744 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.402, allocations: 4.031 kB / 0.5744 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.4031, allocations: 0.6078 MB / 0.575 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.4032, allocations: 47.83 kB / 0.575 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.4032, allocations: 4 kB / 0.5751 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.4035, allocations: 19.98 kB / 0.5751 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.4036, allocations: 23.95 kB / 0.5751 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.4036, allocations: 8 kB / 0.5751 GB, free: 4.641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.4038, allocations: 185.2 kB / 0.5753 GB, free: 4.457 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4038, allocations: 4 kB / 0.5753 GB, free: 4.453 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005063/0.4043, allocations: 95.94 kB / 0.5754 GB, free: 4.359 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001522/0.4045, allocations: 107.2 kB / 0.5755 GB, free: 4.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008557/0.4053, allocations: 398.5 kB / 0.5759 GB, free: 3.844 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4053, allocations: 0 / 0.5759 GB, free: 3.844 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003849/0.4057, allocations: 246.4 kB / 0.5761 GB, free: 3.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.4062, allocations: 36.72 kB / 0.5761 GB, free: 3.555 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.4079, allocations: 0.9133 MB / 0.577 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.4081, allocations: 207.8 kB / 0.5772 GB, free: 2.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.4083, allocations: 34.95 kB / 0.5772 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.4084, allocations: 35.42 kB / 0.5773 GB, free: 2.309 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4084, allocations: 0 / 0.5773 GB, free: 2.309 MB / 414.1 MB Notification: Performance of Templates: time 0.008282/0.4166, allocations: 3.415 MB / 0.5806 GB, free: 14.93 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.64117731526494]