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.001476/0.001476, allocations: 91.31 kB / 20.42 MB, free: 4.137 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.001153/0.001153, allocations: 169 kB / 23.8 MB, free: 0.7656 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.9951/0.9951, allocations: 158.6 MB / 185.7 MB, free: 2.879 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.135/0.135, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.923e-06/1.923e-06, allocations: 3.938 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.912e-05, allocations: 5.406 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005979/0.006009, allocations: 5.211 MB / 352.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.009111, allocations: 1.589 MB / 354.5 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004728/0.009584, allocations: 20 kB / 354.5 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.01217, allocations: 1.692 MB / 356.2 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.01317, allocations: 317.4 kB / 356.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.01421, allocations: 0.4984 MB / 357 MB, free: 72 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.01523, allocations: 0.8315 MB / 357.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.01627, allocations: 0.6351 MB / 358.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006824/0.01696, allocations: 0.5029 MB / 359 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006052/0.01756, allocations: 363 kB / 359.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.01769, allocations: 76 kB / 359.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000481/0.01817, allocations: 183.7 kB / 359.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.01831, allocations: 187.3 kB / 359.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.01862, allocations: 279.3 kB / 360 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.01973, allocations: 0.7472 MB / 360.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.01973, allocations: 0 / 360.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01973, allocations: 0 / 360.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.01975, allocations: 4 kB / 360.8 MB, free: 12.26 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.003026/0.02278, allocations: 1.416 MB / 362.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.02283, allocations: 8.031 kB / 362.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009932/0.02382, allocations: 391.8 kB / 362.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.02403, allocations: 212 kB / 362.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.513e-05/0.02409, allocations: 74.38 kB / 362.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.02421, allocations: 100.3 kB / 363 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009595/0.02517, allocations: 0.7491 MB / 363.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.0252, allocations: 15.88 kB / 363.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.659e-05/0.02526, allocations: 40 kB / 363.8 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.02528, allocations: 24 kB / 363.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006285/0.02591, allocations: 415.6 kB / 364.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/0.029, allocations: 2.851 MB / 367 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.03004, allocations: 0.7867 MB / 367.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.03029, allocations: 205.4 kB / 368 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.461e-05/0.03036, allocations: 32.11 kB / 368.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.03039, allocations: 49.72 kB / 368.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 3.276e-06/0.0304, allocations: 0 / 368.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001516/0.03191, allocations: 0.8688 MB / 369 MB, free: 3.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.03197, allocations: 136.5 kB / 369.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.03221, allocations: 344 kB / 369.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.03224, allocations: 37.7 kB / 369.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.03244, allocations: 454.6 kB / 369.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.03258, allocations: 249.8 kB / 370.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.03274, allocations: 160.2 kB / 370.3 MB, free: 2.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.03292, allocations: 0.5235 MB / 370.8 MB, free: 1.789 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.03311, allocations: 121.9 kB / 371 MB, free: 1.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.03344, allocations: 398.2 kB / 371.4 MB, free: 1.172 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.03397, allocations: 0.5549 MB / 371.9 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.03397, allocations: 0 / 371.9 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008826/0.03486, allocations: 0.7491 MB / 372.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.03488, allocations: 12.44 kB / 372.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.03489, allocations: 8 kB / 372.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007074/0.0356, allocations: 266.4 kB / 372.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.03587, allocations: 135.8 kB / 373.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004253/0.04012, allocations: 7.771 MB / 380.8 MB, free: 7.039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.04042, allocations: 87.34 kB / 380.9 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.04046, allocations: 31.98 kB / 381 MB, free: 6.922 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.0002171/0.04068, allocations: 208.4 kB / 381.2 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.04078, allocations: 63.77 kB / 381.2 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007156/0.04149, allocations: 0.5587 MB / 381.8 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.0415, allocations: 11.94 kB / 381.8 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.04151, allocations: 4 kB / 381.8 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.04151, allocations: 3.984 kB / 381.8 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.04303, allocations: 1.33 MB / 383.1 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.04304, allocations: 4 kB / 383.1 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.04318, allocations: 67.91 kB / 383.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006141/0.0438, allocations: 250.5 kB / 383.5 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.04383, allocations: 12 kB / 383.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/0.04799, allocations: 7.752 MB / 391.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.04799, allocations: 4.125 kB / 391.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.04898, allocations: 1.158 MB / 392.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.91e-05/0.04906, allocations: 43.62 kB / 392.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.04909, allocations: 12 kB / 392.4 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.04926, allocations: 20 kB / 392.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/0.04936, allocations: 59.77 kB / 392.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.04938, allocations: 20.03 kB / 392.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.04952, allocations: 221 kB / 392.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04952, allocations: 0 / 392.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008422/0.05036, allocations: 279.3 kB / 393 MB, free: 10.23 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.0002444/0.05061, allocations: 139.2 kB / 393.2 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.05175, allocations: 1.175 MB / 394.3 MB, free: 8.836 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.05175, allocations: 3.938 kB / 394.3 MB, free: 8.832 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005751/0.05233, allocations: 0.9495 MB / 395.3 MB, free: 7.805 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.05276, allocations: 44.48 kB / 395.3 MB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.05472, allocations: 1.167 MB / 396.5 MB, free: 6.543 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.05489, allocations: 151.5 kB / 396.6 MB, free: 6.371 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.05506, allocations: 64.42 kB / 396.7 MB, free: 6.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.05513, allocations: 36.48 kB / 396.7 MB, free: 6.27 MB / 330.7 MB Notification: Performance of SimCode: time 2.094e-06/0.05513, allocations: 4 kB / 396.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of Templates: time 0.01092/0.06605, allocations: 6.731 MB / 403.5 MB, free: 15.6 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","",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.45023400709033]