Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.00174/0.00174, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.00219/0.00219, allocations: 216.6 kB / 24.49 MB, free: 3.934 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.538/1.538, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2327/0.2327, allocations: 46.97 MB / 361.6 MB, free: 4.039 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+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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 63.91 kB / 0.4973 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3561, allocations: 66.04 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003488/0.3595, allocations: 1.698 MB / 0.5635 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001806/0.3597, allocations: 87.66 kB / 0.5635 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.3598, allocations: 4 kB / 0.5636 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.271e-05/0.3598, allocations: 15.86 kB / 0.5636 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.841e-05/0.3599, allocations: 15.8 kB / 0.5636 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.36, allocations: 27.95 kB / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.3602, allocations: 111.6 kB / 0.5637 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.3604, allocations: 35.97 kB / 0.5638 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.499e-05/0.3605, allocations: 51.84 kB / 0.5638 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.3605, allocations: 51.77 kB / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.3606, allocations: 8 kB / 0.5639 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.069e-05/0.3606, allocations: 16 kB / 0.5639 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.3606, allocations: 27.91 kB / 0.5639 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.623e-05/0.3607, allocations: 39.8 kB / 0.5639 GB, free: 2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.3608, allocations: 118 kB / 0.564 GB, free: 1.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3608, allocations: 0 / 0.564 GB, free: 1.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3608, allocations: 0 / 0.564 GB, free: 1.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.3608, allocations: 0 / 0.564 GB, free: 1.891 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006989/0.3615, allocations: 345.9 kB / 0.5644 GB, free: 1.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3616, allocations: 12.03 kB / 0.5644 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.3616, allocations: 12.89 kB / 0.5644 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3618, allocations: 130.2 kB / 0.5645 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3618, allocations: 8.375 kB / 0.5645 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.3618, allocations: 8.375 kB / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.3622, allocations: 123.8 kB / 0.5647 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3622, allocations: 192 / 0.5647 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.3622, allocations: 7.938 kB / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3622, allocations: 4 kB / 0.5647 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.3626, allocations: 111.8 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000775/0.3633, allocations: 387.1 kB / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.3636, allocations: 82.53 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.3638, allocations: 56.92 kB / 0.5653 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3638, allocations: 11.92 kB / 0.5653 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3639, allocations: 30.56 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3639, allocations: 0 / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008475/0.3647, allocations: 190.3 kB / 0.5655 GB, free: 276 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.3648, allocations: 59.33 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3649, allocations: 113.8 kB / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3649, allocations: 25.7 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.365, allocations: 108 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.3651, allocations: 19.8 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.3651, allocations: 25.7 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3652, allocations: 314.8 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.3654, allocations: 39.95 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.3656, allocations: 50.55 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.3659, allocations: 102.7 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3659, allocations: 0 / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004119/0.3663, allocations: 150.3 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3663, allocations: 8 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3663, allocations: 384 / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.3665, allocations: 28.91 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3666, allocations: 19.97 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.3678, allocations: 1.272 MB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.3679, allocations: 15.92 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.3679, allocations: 0 / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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.0001227/0.368, allocations: 121.8 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.368, allocations: 11.89 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.3681, allocations: 16.3 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3681, allocations: 4.141 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3681, allocations: 0 / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.3681, allocations: 11.92 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.3681, allocations: 0 / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.3682, allocations: 11.98 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.3683, allocations: 11.98 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005224/0.3688, allocations: 229.7 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005816/0.3694, allocations: 346.7 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001557/0.3695, allocations: 44.06 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.19e-05/0.3696, allocations: 87.28 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of Backend: time 4.31e-07/0.3696, allocations: 0 / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006219/0.3702, allocations: 237 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008159/0.371, allocations: 0.6661 MB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of Templates: time 0.004403/0.3754, allocations: 1.352 MB / 0.5708 GB, free: 10.53 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.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: 5.1136141949973535]