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.001376/0.001376, allocations: 77 kB / 20.65 MB, free: 3.844 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.007976/0.007976, allocations: 173 kB / 24.06 MB, free: 452 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 1.133/1.133, allocations: 158.6 MB / 185.9 MB, free: 2.773 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.1387/0.1387, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.663e-06/1.663e-06, allocations: 0 / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.972e-05, allocations: 4.281 kB / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005277/0.005297, allocations: 5.086 MB / 353.2 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.008179, allocations: 1.573 MB / 354.8 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004612/0.008641, allocations: 20 kB / 354.8 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.01067, allocations: 1.649 MB / 356.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005802/0.01125, allocations: 317.4 kB / 356.8 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006796/0.01193, allocations: 498.5 kB / 357.2 MB, free: 12 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000777/0.01271, allocations: 0.8394 MB / 358.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008748/0.01359, allocations: 0.6271 MB / 358.7 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005318/0.01412, allocations: 0.5028 MB / 359.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003666/0.01448, allocations: 355.1 kB / 359.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.698e-05/0.01456, allocations: 79.94 kB / 359.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003077/0.01487, allocations: 179.8 kB / 359.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.847e-05/0.01496, allocations: 183.3 kB / 360 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.01515, allocations: 291.3 kB / 360.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007525/0.01591, allocations: 0.7395 MB / 361 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01591, allocations: 4 kB / 361 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01591, allocations: 3.938 kB / 361 MB, free: 12.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.01593, allocations: 0 / 361 MB, free: 12.21 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.002095/0.01802, allocations: 1.431 MB / 362.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.01807, allocations: 8.031 kB / 362.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009348/0.019, allocations: 391.8 kB / 362.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.01923, allocations: 200.1 kB / 363 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/0.0193, allocations: 74.38 kB / 363.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.01944, allocations: 100.3 kB / 363.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007549/0.02019, allocations: 0.6942 MB / 363.9 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.02022, allocations: 7.922 kB / 363.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/0.02027, allocations: 36 kB / 363.9 MB, free: 9.188 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.02029, allocations: 28 kB / 364 MB, free: 9.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.02068, allocations: 325.6 kB / 364.3 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.02329, allocations: 2.765 MB / 367.1 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/0.02404, allocations: 0.7572 MB / 367.8 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.02418, allocations: 180.1 kB / 368 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.314e-05/0.02424, allocations: 32.16 kB / 368 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.02426, allocations: 49.66 kB / 368.1 MB, free: 4.875 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.854e-06/0.02427, allocations: 0 / 368.1 MB, free: 4.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001205/0.02547, allocations: 0.8097 MB / 368.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.02552, allocations: 136.5 kB / 369 MB, free: 3.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.02574, allocations: 343.8 kB / 369.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.02577, allocations: 37.77 kB / 369.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.02601, allocations: 462.6 kB / 369.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.02613, allocations: 245.9 kB / 370.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.02627, allocations: 164.2 kB / 370.2 MB, free: 2.613 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.02641, allocations: 0.5273 MB / 370.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.02652, allocations: 93.91 kB / 370.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.02676, allocations: 366.1 kB / 371.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.0273, allocations: 0.5043 MB / 371.7 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.0273, allocations: 4 kB / 371.7 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0006733/0.02797, allocations: 0.683 MB / 372.4 MB, free: 192 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.02799, allocations: 14.12 kB / 372.4 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.028, allocations: 8 kB / 372.4 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005608/0.02856, allocations: 258.6 kB / 372.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.0288, allocations: 143.8 kB / 372.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.03238, allocations: 7.618 MB / 380.4 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.03263, allocations: 83.41 kB / 380.5 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.03265, allocations: 32.27 kB / 380.5 MB, free: 7.566 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,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.0001596/0.03281, allocations: 212.2 kB / 380.8 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.03291, allocations: 59.77 kB / 380.8 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005239/0.03343, allocations: 0.5157 MB / 381.3 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.03344, allocations: 12 kB / 381.3 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.03344, allocations: 8 kB / 381.4 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.03345, allocations: 7.984 kB / 381.4 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.03456, allocations: 1.186 MB / 382.5 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.03456, allocations: 0 / 382.5 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.03469, allocations: 75.84 kB / 382.6 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004938/0.03519, allocations: 238.5 kB / 382.9 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.03521, allocations: 19.98 kB / 382.9 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004165/0.03937, allocations: 7.607 MB / 390.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.03938, allocations: 0 / 390.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007377/0.04011, allocations: 1.08 MB / 391.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.04016, allocations: 51.56 kB / 391.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.04018, allocations: 12 kB / 391.6 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.04033, allocations: 16 kB / 391.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.04041, allocations: 59.83 kB / 391.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.04043, allocations: 15.94 kB / 391.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.04053, allocations: 205.1 kB / 391.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04053, allocations: 0 / 391.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005996/0.04113, allocations: 283.3 kB / 392.2 MB, free: 11.33 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.0001641/0.0413, allocations: 135.1 kB / 392.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007383/0.04203, allocations: 1.134 MB / 393.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.04204, allocations: 64 / 393.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.04252, allocations: 0.9409 MB / 394.4 MB, free: 8.965 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.04289, allocations: 48.42 kB / 394.4 MB, free: 8.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.0442, allocations: 1.146 MB / 395.6 MB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.04433, allocations: 155.5 kB / 395.7 MB, free: 7.547 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.04447, allocations: 64.44 kB / 395.8 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.04459, allocations: 122.2 kB / 395.9 MB, free: 7.359 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.04459, allocations: 0 / 395.9 MB, free: 7.359 MB / 330.7 MB Notification: Performance of Templates: time 0.01015/0.05474, allocations: 7.28 MB / 403.2 MB, free: 128 kB / 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=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.532000544015318]