Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001443/0.001443, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001602/0.001602, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 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.48/1.48, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3483/0.3483, allocations: 32.79 MB / 293.9 MB, free: 1.238 MB / 266.7 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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.377e-05/1.377e-05, allocations: 0 / 375.3 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.637e-05/5.013e-05, allocations: 5.547 kB / 375.3 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.01074/0.01079, allocations: 4.768 MB / 380 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004782/0.01557, allocations: 1.576 MB / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000808/0.01638, allocations: 20 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005319/0.0217, allocations: 1.559 MB / 383.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.02353, allocations: 329.3 kB / 383.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.02537, allocations: 0.4945 MB / 384 MB, free: 12.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.02699, allocations: 0.8316 MB / 384.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.02869, allocations: 0.6273 MB / 385.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.02983, allocations: 0.5028 MB / 386 MB, free: 10.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007821/0.03061, allocations: 351 kB / 386.3 MB, free: 9.895 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.03084, allocations: 76 kB / 386.4 MB, free: 9.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006584/0.0315, allocations: 191.8 kB / 386.6 MB, free: 9.633 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.03173, allocations: 183.3 kB / 386.7 MB, free: 9.453 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005146/0.03224, allocations: 283.3 kB / 387 MB, free: 9.176 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.03438, allocations: 1.184 MB / 388.2 MB, free: 7.988 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.03438, allocations: 0 / 388.2 MB, free: 7.988 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.03438, allocations: 4 kB / 388.2 MB, free: 7.984 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.918e-05/0.03443, allocations: 0 / 388.2 MB, free: 7.984 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003962/0.0384, allocations: 1.293 MB / 389.5 MB, free: 6.656 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.03844, allocations: 15.98 kB / 389.5 MB, free: 6.641 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.04026, allocations: 395.7 kB / 389.9 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.04058, allocations: 201.2 kB / 390.1 MB, free: 6.031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.04068, allocations: 74.38 kB / 390.2 MB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.04087, allocations: 104.3 kB / 390.3 MB, free: 5.859 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.04274, allocations: 0.9365 MB / 391.2 MB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.04278, allocations: 11.94 kB / 391.2 MB, free: 4.891 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.189e-05/0.04287, allocations: 40 kB / 391.3 MB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.0429, allocations: 24 kB / 391.3 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.04431, allocations: 0.7183 MB / 392 MB, free: 4.109 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005436/0.04975, allocations: 2.757 MB / 394.8 MB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.0515, allocations: 0.7706 MB / 395.5 MB, free: 440 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004425/0.05194, allocations: 264.1 kB / 395.8 MB, free: 168 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.05204, allocations: 32.91 kB / 395.8 MB, free: 136 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.05209, allocations: 42.83 kB / 395.9 MB, free: 84 kB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.615e-06/0.05209, allocations: 0 / 395.9 MB, free: 84 kB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.003001/0.05509, allocations: 1.048 MB / 396.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.0552, allocations: 140.5 kB / 397 MB, free: 14.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.05567, allocations: 305.5 kB / 397.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.05572, allocations: 37.7 kB / 397.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.05609, allocations: 411.9 kB / 397.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.05633, allocations: 237.9 kB / 398 MB, free: 13.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.0566, allocations: 146.6 kB / 398.2 MB, free: 13.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.05682, allocations: 354.8 kB / 398.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.0572, allocations: 205.8 kB / 398.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/0.05781, allocations: 396.7 kB / 399.1 MB, free: 12.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.0591, allocations: 0.6235 MB / 399.7 MB, free: 11.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.05911, allocations: 0 / 399.7 MB, free: 11.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001804/0.06091, allocations: 0.9178 MB / 400.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.06093, allocations: 11.94 kB / 400.6 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.06094, allocations: 4 kB / 400.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.06231, allocations: 283.7 kB / 400.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.06281, allocations: 135.8 kB / 401.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007474/0.07028, allocations: 6.19 MB / 407.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006259/0.07091, allocations: 87.34 kB / 407.3 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/0.07097, allocations: 32 kB / 407.4 MB, free: 3.895 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004082/0.07138, allocations: 229.6 kB / 407.6 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.07156, allocations: 63.75 kB / 407.7 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.07303, allocations: 0.6792 MB / 408.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.07304, allocations: 7.938 kB / 408.3 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.07305, allocations: 8 kB / 408.3 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.07306, allocations: 3.984 kB / 408.4 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.07573, allocations: 1.346 MB / 409.7 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.07573, allocations: 0 / 409.7 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.076, allocations: 67.91 kB / 409.8 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.07725, allocations: 271.1 kB / 410 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.07729, allocations: 20 kB / 410 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007512/0.0848, allocations: 6.178 MB / 416.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.08481, allocations: 0 / 416.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.08678, allocations: 1.206 MB / 417.4 MB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.0869, allocations: 51.61 kB / 417.5 MB, free: 9.242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.08696, allocations: 12 kB / 417.5 MB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003543/0.08731, allocations: 12 kB / 417.5 MB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.08744, allocations: 67.7 kB / 417.6 MB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.08748, allocations: 24.06 kB / 417.6 MB, free: 9.129 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002628/0.08774, allocations: 193.1 kB / 417.8 MB, free: 8.941 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08774, allocations: 0 / 417.8 MB, free: 8.941 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001129/0.08887, allocations: 283.3 kB / 418.1 MB, free: 8.664 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003402/0.08921, allocations: 143.1 kB / 418.2 MB, free: 8.516 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.09103, allocations: 1.045 MB / 419.2 MB, free: 7.418 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.09103, allocations: 4 kB / 419.2 MB, free: 7.414 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.0921, allocations: 0.7564 MB / 420 MB, free: 6.605 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.09275, allocations: 44.48 kB / 420 MB, free: 6.562 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.09555, allocations: 1.214 MB / 421.3 MB, free: 5.305 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.09604, allocations: 322.5 kB / 421.6 MB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.09632, allocations: 60.44 kB / 421.6 MB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.09643, allocations: 36.48 kB / 421.7 MB, free: 4.871 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.09643, allocations: 0 / 421.7 MB, free: 4.871 MB / 394.7 MB Notification: Performance of Templates: time 0.01668/0.1131, allocations: 6.828 MB / 428.5 MB, free: 14.11 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.536037654033862]