Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.001453/0.001453, allocations: 77.7 kB / 19.93 MB, free: 1.781 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.001413/0.001413, allocations: 165.8 kB / 23.21 MB, free: 4.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 158.6 MB / 185 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2581/0.2581, allocations: 32.38 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 407.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.153e-05/5.437e-05, allocations: 2.281 kB / 407.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.008843/0.008897, allocations: 3.14 MB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.01142, allocations: 0.8184 MB / 411.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.01171, allocations: 12 kB / 411.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.01206, allocations: 75.23 kB / 411.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.01249, allocations: 130.7 kB / 411.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.01312, allocations: 139.7 kB / 411.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009342/0.01405, allocations: 0.5294 MB / 412.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005196/0.01457, allocations: 170.3 kB / 412.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006763/0.01525, allocations: 323.4 kB / 412.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.01565, allocations: 167.5 kB / 412.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.01576, allocations: 51.98 kB / 412.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.01589, allocations: 52 kB / 412.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.01607, allocations: 107.6 kB / 413 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.01637, allocations: 175.6 kB / 413.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.01738, allocations: 0.5723 MB / 413.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.01739, allocations: 0 / 413.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01739, allocations: 0 / 413.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.0174, allocations: 0 / 413.8 MB, free: 12.57 MB / 350.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.002119/0.01951, allocations: 0.6999 MB / 414.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.198e-05/0.0196, allocations: 8.031 kB / 414.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.01979, allocations: 56.61 kB / 414.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009768/0.02076, allocations: 254.9 kB / 414.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-05/0.02085, allocations: 33.38 kB / 414.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.02099, allocations: 52.36 kB / 414.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.02251, allocations: 0.5071 MB / 415.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.02253, allocations: 192 / 415.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.02261, allocations: 20.36 kB / 415.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.02263, allocations: 15.94 kB / 415.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.02398, allocations: 320.4 kB / 415.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/0.02803, allocations: 1.454 MB / 417.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.02906, allocations: 225 kB / 417.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.02967, allocations: 125.6 kB / 417.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-05/0.02971, allocations: 11.94 kB / 417.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/0.02977, allocations: 38.56 kB / 417.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.855e-06/0.02977, allocations: 0 / 417.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005341/0.03511, allocations: 1.127 MB / 418.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.03522, allocations: 89.09 kB / 418.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004698/0.03569, allocations: 253.8 kB / 419 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.03574, allocations: 33.7 kB / 419.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.03604, allocations: 264.1 kB / 419.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.03622, allocations: 119 kB / 419.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.03643, allocations: 82.14 kB / 419.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000247/0.03667, allocations: 334.8 kB / 419.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005443/0.03722, allocations: 112.9 kB / 419.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.03784, allocations: 209 kB / 420.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.03898, allocations: 355 kB / 420.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.03898, allocations: 0 / 420.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001428/0.04041, allocations: 413.9 kB / 420.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.04044, allocations: 8 kB / 420.9 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.04045, allocations: 4 kB / 420.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.04066, allocations: 36.78 kB / 421 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.04117, allocations: 124.2 kB / 421.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.04266, allocations: 1.304 MB / 422.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.04294, allocations: 27.92 kB / 422.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.04298, allocations: 16 kB / 422.4 MB, free: 3.387 MB / 350.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.0002708/0.04325, allocations: 169.7 kB / 422.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.116e-05/0.04334, allocations: 27.81 kB / 422.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.405e-05/0.04343, allocations: 46.05 kB / 422.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.04344, allocations: 4 kB / 422.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.04344, allocations: 0 / 422.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.04345, allocations: 0 / 422.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.04461, allocations: 0.5816 MB / 423.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.04462, allocations: 12.06 kB / 423.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.04504, allocations: 83.94 kB / 423.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.921e-05/0.04513, allocations: 32.77 kB / 423.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.04516, allocations: 12 kB / 423.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.04627, allocations: 1.296 MB / 424.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.04627, allocations: 4.062 kB / 424.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.04737, allocations: 0.6088 MB / 425.3 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.04747, allocations: 43.72 kB / 425.3 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.04751, allocations: 12 kB / 425.3 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.04778, allocations: 23.98 kB / 425.4 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-05/0.04787, allocations: 23.95 kB / 425.4 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.04789, allocations: 8 kB / 425.4 MB, free: 232 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002512/0.04815, allocations: 181.2 kB / 425.6 MB, free: 48 kB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04815, allocations: 0 / 425.6 MB, free: 48 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005177/0.04866, allocations: 92.05 kB / 425.7 MB, free: 15.95 MB / 366.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.0001672/0.04883, allocations: 107.1 kB / 425.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009607/0.04979, allocations: 398.2 kB / 426.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.04979, allocations: 0 / 426.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004461/0.05024, allocations: 243.4 kB / 426.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.05073, allocations: 38.36 kB / 426.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.05239, allocations: 0.8149 MB / 427.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.05263, allocations: 203.8 kB / 427.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000138/0.05276, allocations: 38.94 kB / 427.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.385e-05/0.05285, allocations: 32.44 kB / 427.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.05285, allocations: 0 / 427.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of Templates: time 0.008969/0.06182, allocations: 2.825 MB / 430.3 MB, free: 11.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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.593886472284794]