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.001003/0.001003, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.00119/0.00119, allocations: 166.8 kB / 24.84 MB, free: 9.238 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 0.9495/0.9495, allocations: 158.6 MB / 186.7 MB, free: 2.781 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.1307/0.1307, allocations: 32.37 MB / 271.5 MB, free: 14.54 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.312e-06/1.312e-06, allocations: 0 / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.628e-05, allocations: 2.312 kB / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.00534/0.005357, allocations: 5.082 MB / 354 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.007902, allocations: 1.577 MB / 355.6 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.008225, allocations: 20 kB / 355.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.01042, allocations: 1.649 MB / 357.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.01083, allocations: 321.4 kB / 357.5 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.01144, allocations: 498.4 kB / 358 MB, free: 12 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006848/0.01212, allocations: 0.8315 MB / 358.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006828/0.0128, allocations: 0.6351 MB / 359.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004122/0.01322, allocations: 0.5067 MB / 360 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.01356, allocations: 355.1 kB / 360.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.471e-05/0.01364, allocations: 76 kB / 360.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.01389, allocations: 187.7 kB / 360.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.01398, allocations: 183.3 kB / 360.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.01417, allocations: 287.3 kB / 361.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.01479, allocations: 0.7433 MB / 361.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01479, allocations: 4 kB / 361.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01479, allocations: 0 / 361.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.0148, allocations: 7.938 kB / 361.8 MB, free: 12.2 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.00211/0.01691, allocations: 1.42 MB / 363.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.01694, allocations: 8.031 kB / 363.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008583/0.0178, allocations: 387.8 kB / 363.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.01794, allocations: 208.1 kB / 363.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.01798, allocations: 74.38 kB / 363.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.01809, allocations: 100.3 kB / 364 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006669/0.01876, allocations: 0.6865 MB / 364.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.01879, allocations: 15.86 kB / 364.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.01884, allocations: 40 kB / 364.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.01886, allocations: 24 kB / 364.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.01923, allocations: 317.6 kB / 365.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.02171, allocations: 2.769 MB / 367.8 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.0225, allocations: 0.7534 MB / 368.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.02265, allocations: 176.1 kB / 368.8 MB, free: 4.977 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.853e-05/0.0227, allocations: 28.11 kB / 368.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.02272, allocations: 49.72 kB / 368.8 MB, free: 4.891 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.743e-06/0.02272, allocations: 3.938 kB / 368.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001457/0.02418, allocations: 0.7981 MB / 369.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.02422, allocations: 136.5 kB / 369.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.02441, allocations: 343.8 kB / 370.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.02444, allocations: 37.7 kB / 370.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.02461, allocations: 462.6 kB / 370.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.02473, allocations: 249.8 kB / 370.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.02486, allocations: 160.2 kB / 371 MB, free: 2.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.02499, allocations: 0.5273 MB / 371.5 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.0251, allocations: 89.92 kB / 371.6 MB, free: 2.004 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.02532, allocations: 378.2 kB / 372 MB, free: 1.523 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.02569, allocations: 0.5118 MB / 372.5 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.0257, allocations: 0 / 372.5 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0006679/0.02637, allocations: 0.6827 MB / 373.2 MB, free: 200 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.02638, allocations: 14.78 kB / 373.2 MB, free: 188 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.02639, allocations: 4 kB / 373.2 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005644/0.02696, allocations: 258.4 kB / 373.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.0272, allocations: 139.8 kB / 373.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003354/0.03055, allocations: 7.613 MB / 381.2 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.03076, allocations: 91.33 kB / 381.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.03079, allocations: 28 kB / 381.3 MB, free: 7.582 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.0001455/0.03094, allocations: 208.4 kB / 381.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.103e-05/0.03103, allocations: 59.77 kB / 381.6 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005102/0.03154, allocations: 0.5118 MB / 382.1 MB, free: 6.777 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.03155, allocations: 8 kB / 382.1 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.03155, allocations: 4 kB / 382.1 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.03156, allocations: 3.984 kB / 382.1 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.03269, allocations: 1.198 MB / 383.3 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.03269, allocations: 7.984 kB / 383.3 MB, free: 5.504 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.03282, allocations: 63.86 kB / 383.4 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/0.03408, allocations: 242.5 kB / 383.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.0341, allocations: 16 kB / 383.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00339/0.03749, allocations: 7.602 MB / 391.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.03749, allocations: 4 kB / 391.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007346/0.03823, allocations: 1.08 MB / 392.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.03827, allocations: 47.62 kB / 392.4 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.0383, allocations: 15.94 kB / 392.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.03846, allocations: 12 kB / 392.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.03853, allocations: 67.8 kB / 392.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.03855, allocations: 19.92 kB / 392.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.049e-05/0.03864, allocations: 205.1 kB / 392.7 MB, free: 11.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03864, allocations: 0 / 392.7 MB, free: 11.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000608/0.03925, allocations: 275.3 kB / 392.9 MB, free: 11.36 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.000168/0.03942, allocations: 147.1 kB / 393.1 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007549/0.04017, allocations: 1.129 MB / 394.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.04017, allocations: 3.938 kB / 394.2 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004565/0.04063, allocations: 0.9344 MB / 395.2 MB, free: 8.992 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.04101, allocations: 48.44 kB / 395.2 MB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.04231, allocations: 1.152 MB / 396.4 MB, free: 7.742 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.04243, allocations: 151.5 kB / 396.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001544/0.04258, allocations: 64.42 kB / 396.6 MB, free: 7.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.04269, allocations: 126.2 kB / 396.7 MB, free: 7.379 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.04269, allocations: 0 / 396.7 MB, free: 7.379 MB / 330.7 MB Notification: Performance of Templates: time 0.01013/0.05282, allocations: 7.414 MB / 404.1 MB, free: 32 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.3606918109580874]