Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002408/0.002408, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.002986/0.002986, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 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.651/1.651, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 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.2512/0.2512, allocations: 32.37 MB / 270 MB, free: 14.64 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_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_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.262e-05, allocations: 2.312 kB / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005056/0.005088, allocations: 5.16 MB / 352.1 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.007774, allocations: 1.581 MB / 353.7 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.008119, allocations: 16 kB / 353.7 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.01131, allocations: 1.684 MB / 355.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008144/0.01213, allocations: 329.4 kB / 355.7 MB, free: 1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009296/0.01306, allocations: 494.4 kB / 356.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007744/0.01383, allocations: 0.8354 MB / 357 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.01495, allocations: 0.6351 MB / 357.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007214/0.01567, allocations: 0.5028 MB / 358.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006037/0.01627, allocations: 359 kB / 358.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.01639, allocations: 72 kB / 358.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004479/0.01684, allocations: 179.8 kB / 358.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.01703, allocations: 179.3 kB / 358.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.01739, allocations: 291.3 kB / 359.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.0193, allocations: 1.18 MB / 360.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.01931, allocations: 0 / 360.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01931, allocations: 0 / 360.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.01933, allocations: 0 / 360.4 MB, free: 12.28 MB / 298.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.003762/0.02309, allocations: 1.466 MB / 361.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.02313, allocations: 12.03 kB / 361.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.02476, allocations: 391.7 kB / 362.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.02506, allocations: 208.1 kB / 362.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.723e-05/0.02515, allocations: 78.38 kB / 362.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.02531, allocations: 100.3 kB / 362.6 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.0271, allocations: 0.9789 MB / 363.6 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.02715, allocations: 7.938 kB / 363.6 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.204e-05/0.02724, allocations: 40 kB / 363.7 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.02726, allocations: 24 kB / 363.7 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.02864, allocations: 0.691 MB / 364.4 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005969/0.03461, allocations: 3.186 MB / 367.6 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.03652, allocations: 0.8288 MB / 368.4 MB, free: 4.023 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004867/0.03701, allocations: 284 kB / 368.7 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.309e-05/0.0371, allocations: 16.33 kB / 368.7 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.03715, allocations: 57.64 kB / 368.7 MB, free: 3.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.405e-06/0.03715, allocations: 0 / 368.7 MB, free: 3.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.002907/0.04006, allocations: 1.049 MB / 369.8 MB, free: 2.578 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.04017, allocations: 136.5 kB / 369.9 MB, free: 2.414 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005404/0.04071, allocations: 400 kB / 370.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.04076, allocations: 37.7 kB / 370.3 MB, free: 1.965 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.04116, allocations: 474.5 kB / 370.8 MB, free: 1.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.04142, allocations: 246 kB / 371 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002726/0.04169, allocations: 172.2 kB / 371.2 MB, free: 1.074 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003503/0.04204, allocations: 0.543 MB / 371.8 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.04242, allocations: 193.9 kB / 371.9 MB, free: 336 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/0.04312, allocations: 494.2 kB / 372.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.04424, allocations: 0.7189 MB / 373.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.04425, allocations: 8 kB / 373.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002093/0.04635, allocations: 0.9288 MB / 374.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.04637, allocations: 8.5 kB / 374.1 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.04639, allocations: 12 kB / 374.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.04772, allocations: 298.4 kB / 374.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.0482, allocations: 139.8 kB / 374.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008359/0.05656, allocations: 8.322 MB / 382.9 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.0571, allocations: 83.34 kB / 382.9 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/0.05716, allocations: 36 kB / 383 MB, free: 4.551 MB / 314.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.0003916/0.05756, allocations: 268.4 kB / 383.2 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.05773, allocations: 67.7 kB / 383.3 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.05913, allocations: 0.6877 MB / 384 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.05914, allocations: 11.94 kB / 384 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.05915, allocations: 4 kB / 384 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.05916, allocations: 0 / 384 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.06185, allocations: 1.6 MB / 385.6 MB, free: 1.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.06186, allocations: 0 / 385.6 MB, free: 1.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.06212, allocations: 67.91 kB / 385.7 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.0633, allocations: 286.5 kB / 385.9 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.06334, allocations: 12 kB / 386 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008104/0.07144, allocations: 8.302 MB / 394.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.07145, allocations: 4 kB / 394.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.0737, allocations: 1.392 MB / 395.7 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.07381, allocations: 39.64 kB / 395.7 MB, free: 7.184 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.07386, allocations: 16 kB / 395.7 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.0742, allocations: 19.98 kB / 395.7 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.07432, allocations: 55.88 kB / 395.8 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.07436, allocations: 27.92 kB / 395.8 MB, free: 7.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000312/0.07467, allocations: 253 kB / 396.1 MB, free: 6.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07467, allocations: 0 / 396.1 MB, free: 6.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001091/0.07576, allocations: 279.3 kB / 396.3 MB, free: 6.547 MB / 330.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.0002837/0.07604, allocations: 139.6 kB / 396.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.0781, allocations: 1.328 MB / 397.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.0781, allocations: 0 / 397.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.07946, allocations: 1.02 MB / 398.8 MB, free: 3.906 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.08011, allocations: 60.36 kB / 398.9 MB, free: 3.848 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.08254, allocations: 1.235 MB / 400.1 MB, free: 2.562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.08295, allocations: 318.5 kB / 400.4 MB, free: 2.223 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002456/0.0832, allocations: 60.42 kB / 400.5 MB, free: 2.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.221e-05/0.08329, allocations: 36.5 kB / 400.5 MB, free: 2.125 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.08329, allocations: 0 / 400.5 MB, free: 2.125 MB / 330.7 MB Notification: Performance of Templates: time 0.01586/0.09915, allocations: 6.748 MB / 407.3 MB, free: 11.44 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.429104256909341]