Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007984/0.0007983, allocations: 90.7 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.179e-05/1.182e-05, allocations: 0 / 315.5 MB, free: 22.69 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07472/0.07475, allocations: 47.58 MB / 363.1 MB, free: 7.043 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2734/0.3482, allocations: 81.56 MB / 444.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.3484, allocations: 88.02 kB / 444.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05575/0.4042, allocations: 25.75 MB / 470.5 MB, free: 9.656 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4042, allocations: 0 / 470.5 MB, free: 9.656 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.4043, allocations: 16 kB / 470.5 MB, free: 9.641 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002642/0.4069, allocations: 1.09 MB / 471.6 MB, free: 8.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.407, allocations: 8.031 kB / 471.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.4085, allocations: 254.5 kB / 471.8 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.4087, allocations: 253.9 kB / 472.1 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.4088, allocations: 35.95 kB / 472.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.4089, allocations: 67.03 kB / 472.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001153/0.4101, allocations: 0.7006 MB / 472.9 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.4114, allocations: 0.7666 MB / 473.7 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.4114, allocations: 12 kB / 473.7 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/0.4115, allocations: 0 / 473.7 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.4115, allocations: 24 kB / 473.7 MB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004612/0.4162, allocations: 3.248 MB / 476.9 MB, free: 3.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.418, allocations: 1.363 MB / 478.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.4185, allocations: 324.7 kB / 478.6 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.4186, allocations: 105.8 kB / 478.7 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.4186, allocations: 43.41 kB / 478.8 MB, free: 1.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 2.454e-06/0.4186, allocations: 0 / 478.8 MB, free: 1.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=87): time 0.001769/0.4204, allocations: 0.7956 MB / 479.6 MB, free: 472 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.4205, allocations: 97.8 kB / 479.7 MB, free: 356 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.4208, allocations: 282 kB / 479.9 MB, free: 64 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.4208, allocations: 25.7 kB / 480 MB, free: 32 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.421, allocations: 386.7 kB / 480.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.4212, allocations: 283.7 kB / 480.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.4213, allocations: 0 / 480.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4214, allocations: 358.8 kB / 481 MB, free: 15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.4218, allocations: 230.6 kB / 481.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.4224, allocations: 433.2 kB / 481.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.4237, allocations: 493.9 kB / 482.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.4237, allocations: 0 / 482.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002042/0.4258, allocations: 1.043 MB / 483.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4258, allocations: 4 kB / 483.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4258, allocations: 11.94 kB / 483.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003295/0.4262, allocations: 115.4 kB / 483.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007776/0.4269, allocations: 203.7 kB / 483.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003605/0.4306, allocations: 5.341 MB / 488.8 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/0.4311, allocations: 74.97 kB / 488.9 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.4312, allocations: 40 kB / 488.9 MB, free: 6.477 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.4314, allocations: 136.7 kB / 489 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.4315, allocations: 47.44 kB / 489.1 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.4334, allocations: 0.9202 MB / 490 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.4334, allocations: 12 kB / 490 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4335, allocations: 0 / 490 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.4335, allocations: 7.969 kB / 490 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00403/0.4375, allocations: 2.68 MB / 492.7 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.4375, allocations: 12.06 kB / 492.7 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005439/0.4381, allocations: 143.7 kB / 492.9 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.4384, allocations: 103.4 kB / 493 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/0.4384, allocations: 27.98 kB / 493 MB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00319/0.4416, allocations: 5.069 MB / 498.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/0.4416, allocations: 16.06 kB / 498.1 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.4442, allocations: 1.829 MB / 499.9 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.4443, allocations: 148.3 kB / 0.4883 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.448e-05/0.4444, allocations: 15.98 kB / 0.4883 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.4448, allocations: 8 kB / 0.4884 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.445, allocations: 88.2 kB / 0.4884 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.776e-05/0.445, allocations: 35.98 kB / 0.4885 GB, free: 10.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.4452, allocations: 198 kB / 0.4887 GB, free: 9.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4452, allocations: 0 / 0.4887 GB, free: 9.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009734/0.4462, allocations: 236.2 kB / 0.4889 GB, free: 9.645 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 1 (referenceSensor.port.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002333/0.4464, allocations: 155 kB / 0.489 GB, free: 9.484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.4478, allocations: 1.06 MB / 0.4901 GB, free: 8.383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4478, allocations: 0 / 0.4901 GB, free: 8.383 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007082/0.4485, allocations: 0.7327 MB / 0.4908 GB, free: 7.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.4489, allocations: 40.7 kB / 0.4908 GB, free: 7.574 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.4508, allocations: 1.124 MB / 0.4919 GB, free: 6.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.4513, allocations: 0.932 MB / 0.4928 GB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005326/0.4518, allocations: 104.9 kB / 0.4929 GB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.452, allocations: 55.42 kB / 0.493 GB, free: 5.203 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.452, allocations: 0 / 0.493 GB, free: 5.203 MB / 378.7 MB Notification: Performance of Templates: time 0.01137/0.4634, allocations: 6.393 MB / 0.4992 GB, free: 14.8 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches