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.001137/0.001137, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001302/0.001302, allocations: 169 kB / 24.14 MB, free: 364 kB / 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 0.9883/0.9883, allocations: 158.6 MB / 186 MB, free: 2.746 MB / 170.7 MB " [Timeout remaining time 179] 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.1413/0.1413, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.954e-06/1.954e-06, allocations: 0 / 299.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.57e-05, allocations: 6.312 kB / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.1978/0.1978, allocations: 5.079 MB / 304.1 MB, free: 18.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.2007, allocations: 1.652 MB / 305.8 MB, free: 17.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002972/0.201, allocations: 19.03 kB / 305.8 MB, free: 17.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.203, allocations: 1.698 MB / 307.5 MB, free: 16.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006106/0.2036, allocations: 314.8 kB / 307.8 MB, free: 16.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007927/0.2044, allocations: 0.5051 MB / 308.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008002/0.2052, allocations: 0.8331 MB / 309.2 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008248/0.206, allocations: 0.6799 MB / 309.8 MB, free: 14.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006127/0.2066, allocations: 0.4993 MB / 310.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004953/0.2071, allocations: 360.3 kB / 310.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.2072, allocations: 74.69 kB / 310.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.2076, allocations: 182 kB / 310.9 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.2077, allocations: 179.9 kB / 311.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.2079, allocations: 286.1 kB / 311.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008038/0.2087, allocations: 0.7498 MB / 312.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2087, allocations: 0 / 312.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2087, allocations: 0.6094 kB / 312.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.2088, allocations: 0 / 312.1 MB, free: 13.93 MB / 282.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.002031/0.2108, allocations: 1.351 MB / 313.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.2108, allocations: 12.69 kB / 313.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009121/0.2117, allocations: 405.7 kB / 313.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.2119, allocations: 193 kB / 314.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.576e-05/0.2119, allocations: 74.66 kB / 314.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.212, allocations: 101.4 kB / 314.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006381/0.2127, allocations: 0.6787 MB / 314.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.2127, allocations: 9.547 kB / 315 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.2128, allocations: 40.16 kB / 315 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.2128, allocations: 25.89 kB / 315 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.2131, allocations: 270.1 kB / 315.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.2155, allocations: 2.235 MB / 317.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007787/0.2163, allocations: 0.6643 MB / 318.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.2164, allocations: 155.4 kB / 318.3 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.973e-05/0.2165, allocations: 23.61 kB / 318.4 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.2165, allocations: 47.58 kB / 318.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=66): time 2.645e-06/0.2165, allocations: 2.219 kB / 318.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009675/0.2175, allocations: 0.6919 MB / 319.1 MB, free: 10.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.2175, allocations: 136.5 kB / 319.2 MB, free: 9.883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.2176, allocations: 284.6 kB / 319.5 MB, free: 9.594 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2177, allocations: 33.7 kB / 319.5 MB, free: 9.555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2178, allocations: 403.8 kB / 319.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/0.2178, allocations: 241.9 kB / 320.2 MB, free: 8.914 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2179, allocations: 150.5 kB / 320.3 MB, free: 8.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.218, allocations: 350.7 kB / 320.7 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.23e-05/0.2181, allocations: 73.97 kB / 320.7 MB, free: 8.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.2182, allocations: 288.6 kB / 321 MB, free: 7.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.2185, allocations: 441.5 kB / 321.4 MB, free: 7.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.2185, allocations: 0 / 321.4 MB, free: 7.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0004566/0.2189, allocations: 0.5488 MB / 322 MB, free: 6.895 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2189, allocations: 8 kB / 322 MB, free: 6.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2189, allocations: 11.94 kB / 322 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004997/0.2194, allocations: 223.3 kB / 322.2 MB, free: 6.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.2196, allocations: 139.8 kB / 322.4 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.2217, allocations: 5.296 MB / 327.7 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.2219, allocations: 87.36 kB / 327.7 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.2219, allocations: 20 kB / 327.8 MB, free: 0.7695 MB / 282.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,4,100.0%), (1,4,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.2221, allocations: 169.6 kB / 327.9 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.2221, allocations: 47.91 kB / 328 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/0.2225, allocations: 432.7 kB / 328.4 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2225, allocations: 11.94 kB / 328.4 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2226, allocations: 4 kB / 328.4 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2226, allocations: 3.984 kB / 328.4 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.2236, allocations: 0.891 MB / 329.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2236, allocations: 0 / 329.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.2238, allocations: 67.91 kB / 329.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00046/0.2242, allocations: 215.5 kB / 329.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.2242, allocations: 19.94 kB / 329.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002863/0.2271, allocations: 5.291 MB / 334.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2271, allocations: 0 / 334.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005947/0.2277, allocations: 0.789 MB / 335.7 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.2277, allocations: 51.53 kB / 335.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.2278, allocations: 20.06 kB / 335.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.2279, allocations: 15.98 kB / 335.8 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/0.228, allocations: 59.83 kB / 335.8 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.228, allocations: 12 kB / 335.8 MB, free: 8.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.993e-05/0.2281, allocations: 78.78 kB / 335.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2281, allocations: 0 / 335.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006947/0.2288, allocations: 283.3 kB / 336.2 MB, free: 7.887 MB / 298.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.0002063/0.229, allocations: 127.4 kB / 336.3 MB, free: 7.754 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00089/0.2299, allocations: 0.8782 MB / 337.2 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.2299, allocations: 5.625 kB / 337.2 MB, free: 6.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.2303, allocations: 0.6953 MB / 337.9 MB, free: 6.074 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.2307, allocations: 49.75 kB / 337.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.2321, allocations: 1.1 MB / 339 MB, free: 4.883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.2322, allocations: 155.5 kB / 339.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.2323, allocations: 64.44 kB / 339.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2324, allocations: 95.36 kB / 339.4 MB, free: 4.551 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2324, allocations: 0 / 339.4 MB, free: 4.551 MB / 298.7 MB Notification: Performance of Templates: time 0.01036/0.2428, allocations: 7.281 MB / 346.6 MB, free: 13.33 MB / 314.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3597495509311557]