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.00155/0.00155, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.001736/0.001736, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.585/1.585, allocations: 158.6 MB / 185.3 MB, free: 2.91 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.2253/0.2253, allocations: 32.37 MB / 270 MB, free: 14.78 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.543e-06/1.543e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.389e-05, allocations: 2.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004411/0.004435, allocations: 4.712 MB / 351.6 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.00671, allocations: 1.554 MB / 353.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002664/0.006977, allocations: 20 kB / 353.2 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.009764, allocations: 1.551 MB / 354.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006722/0.01044, allocations: 325.4 kB / 355.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009016/0.01134, allocations: 0.4906 MB / 355.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005417/0.01188, allocations: 0.8276 MB / 356.4 MB, free: 300 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009099/0.01279, allocations: 0.6313 MB / 357 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006846/0.01347, allocations: 0.5028 MB / 357.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005577/0.01403, allocations: 347.1 kB / 357.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.01416, allocations: 72 kB / 357.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.01459, allocations: 183.8 kB / 358.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.01476, allocations: 175.3 kB / 358.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.0151, allocations: 283.3 kB / 358.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.01674, allocations: 1.176 MB / 359.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.01674, allocations: 4 kB / 359.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01674, allocations: 0 / 359.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.01676, allocations: 0 / 359.8 MB, free: 12.92 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.003493/0.02025, allocations: 1.285 MB / 361 MB, free: 11.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.02029, allocations: 8.031 kB / 361 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/0.0222, allocations: 395.7 kB / 361.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.02253, allocations: 197.3 kB / 361.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-05/0.02262, allocations: 78.38 kB / 361.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.02279, allocations: 100.3 kB / 361.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.02457, allocations: 0.9288 MB / 362.7 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.02461, allocations: 11.92 kB / 362.7 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-05/0.0247, allocations: 40 kB / 362.8 MB, free: 9.816 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/0.02473, allocations: 24 kB / 362.8 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.02614, allocations: 0.7144 MB / 363.5 MB, free: 9.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004972/0.03111, allocations: 2.734 MB / 366.3 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.03299, allocations: 0.7758 MB / 367 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004431/0.03343, allocations: 258.4 kB / 367.3 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.639e-05/0.03352, allocations: 24.17 kB / 367.3 MB, free: 5.129 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.03357, allocations: 46.83 kB / 367.3 MB, free: 5.074 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.645e-06/0.03357, allocations: 4 kB / 367.4 MB, free: 5.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.002893/0.03647, allocations: 1.041 MB / 368.4 MB, free: 4.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.03658, allocations: 132.5 kB / 368.5 MB, free: 3.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.037, allocations: 301.6 kB / 368.8 MB, free: 3.551 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.03704, allocations: 37.7 kB / 368.9 MB, free: 3.508 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.03739, allocations: 411.8 kB / 369.3 MB, free: 3.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.03762, allocations: 238 kB / 369.5 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.03786, allocations: 150.6 kB / 369.6 MB, free: 2.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.03808, allocations: 346.8 kB / 370 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.03847, allocations: 197.9 kB / 370.2 MB, free: 2.168 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.03905, allocations: 400.7 kB / 370.6 MB, free: 1.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009873/0.04004, allocations: 0.6239 MB / 371.2 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.04005, allocations: 8 kB / 371.2 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001697/0.04175, allocations: 0.9022 MB / 372.1 MB, free: 68 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.04177, allocations: 8.5 kB / 372.1 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.04179, allocations: 12 kB / 372.1 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.04313, allocations: 283 kB / 372.4 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.04361, allocations: 135.8 kB / 372.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007515/0.05112, allocations: 6.201 MB / 378.7 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/0.05174, allocations: 83.36 kB / 378.8 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/0.05181, allocations: 35.98 kB / 378.8 MB, free: 8.895 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.0004315/0.05224, allocations: 221.7 kB / 379.1 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.05242, allocations: 63.77 kB / 379.1 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.05378, allocations: 0.6805 MB / 379.8 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.05379, allocations: 15.88 kB / 379.8 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.0538, allocations: 4 kB / 379.8 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.05381, allocations: 3.984 kB / 379.8 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.05635, allocations: 1.34 MB / 381.2 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.05636, allocations: 4 kB / 381.2 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.05662, allocations: 67.91 kB / 381.2 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.05782, allocations: 263.2 kB / 381.5 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.05786, allocations: 16 kB / 381.5 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006831/0.06469, allocations: 6.181 MB / 387.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.0647, allocations: 4 kB / 387.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.06669, allocations: 1.202 MB / 388.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.06681, allocations: 43.62 kB / 388.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.06687, allocations: 19.98 kB / 389 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.06722, allocations: 16 kB / 389 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.06735, allocations: 55.83 kB / 389 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.06739, allocations: 23.94 kB / 389 MB, free: 14.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002775/0.06767, allocations: 197.2 kB / 389.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06767, allocations: 0 / 389.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001154/0.06882, allocations: 279.3 kB / 389.5 MB, free: 13.69 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.000293/0.06912, allocations: 139.1 kB / 389.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.07097, allocations: 1.04 MB / 390.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.07098, allocations: 0 / 390.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.07205, allocations: 0.7523 MB / 391.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007348/0.07278, allocations: 52.48 kB / 391.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.07519, allocations: 1.225 MB / 392.7 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.07562, allocations: 314.5 kB / 393 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002581/0.07588, allocations: 60.44 kB / 393.1 MB, free: 9.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.07597, allocations: 32.5 kB / 393.1 MB, free: 9.898 MB / 330.7 MB Notification: Performance of SimCode: time 1.353e-06/0.07597, allocations: 0 / 393.1 MB, free: 9.898 MB / 330.7 MB Notification: Performance of Templates: time 0.01489/0.09087, allocations: 6.682 MB / 399.8 MB, free: 3.273 MB / 330.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] 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.221021382021718]