Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 177.7 kB / 8.698 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.346/1.346, allocations: 205.3 MB / 214.4 MB, free: 1.738 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.000768/0.000768, allocations: 86.22 kB / 262.5 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.252e-05/1.297e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08256/0.08259, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3148/0.3974, allocations: 79.36 MB / 442.4 MB, free: 320 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.3977, allocations: 85.06 kB / 442.5 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0255/0.4232, allocations: 11.02 MB / 453.5 MB, free: 7.539 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4233, allocations: 0 / 453.5 MB, free: 7.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.4233, allocations: 4 kB / 453.6 MB, free: 7.535 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001267/0.4246, allocations: 0.6052 MB / 454.2 MB, free: 6.922 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4246, allocations: 8.031 kB / 454.2 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/0.4253, allocations: 114.3 kB / 454.3 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.4256, allocations: 256.4 kB / 454.5 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.4257, allocations: 12 kB / 454.5 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.4257, allocations: 23.95 kB / 454.6 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003594/0.4261, allocations: 212.6 kB / 454.8 MB, free: 6.391 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.4265, allocations: 272.8 kB / 455 MB, free: 6.184 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.4266, allocations: 3.906 kB / 455 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.4266, allocations: 0 / 455 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4266, allocations: 11.94 kB / 455.1 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.4284, allocations: 1.388 MB / 456.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005828/0.429, allocations: 0.6757 MB / 457.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.4291, allocations: 97.97 kB / 457.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.4292, allocations: 81.11 kB / 457.3 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.4293, allocations: 38.38 kB / 457.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.4293, allocations: 0 / 457.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006834/0.43, allocations: 270.7 kB / 457.6 MB, free: 3.773 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.43, allocations: 59.41 kB / 457.6 MB, free: 3.703 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4302, allocations: 135.8 kB / 457.8 MB, free: 3.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.4302, allocations: 25.7 kB / 457.8 MB, free: 3.547 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.4303, allocations: 178.7 kB / 458 MB, free: 3.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.4303, allocations: 77.47 kB / 458.1 MB, free: 3.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.4304, allocations: 3.938 kB / 458.1 MB, free: 3.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4305, allocations: 326.6 kB / 458.4 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.845e-05/0.4306, allocations: 58.06 kB / 458.4 MB, free: 2.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.4307, allocations: 114.8 kB / 458.5 MB, free: 2.852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.431, allocations: 108.5 kB / 458.7 MB, free: 2.781 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.431, allocations: 4 kB / 458.7 MB, free: 2.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005818/0.4316, allocations: 324.3 kB / 459 MB, free: 2.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4316, allocations: 8 kB / 459 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4316, allocations: 7.984 kB / 459 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003021/0.4319, allocations: 83.25 kB / 459.1 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.4321, allocations: 39.92 kB / 459.1 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.4338, allocations: 1.746 MB / 460.9 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.4339, allocations: 23.64 kB / 460.9 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.434, allocations: 11.38 kB / 460.9 MB, free: 0.7305 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.546e-05/0.4341, allocations: 113 kB / 461 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.4341, allocations: 11.81 kB / 461 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000615/0.4347, allocations: 289.5 kB / 461.3 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4348, allocations: 8 kB / 461.3 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.4348, allocations: 0 / 461.3 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4348, allocations: 3.984 kB / 461.3 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009925/0.4358, allocations: 0.6508 MB / 462 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4358, allocations: 0 / 462 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4359, allocations: 23.98 kB / 462 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/0.4361, allocations: 77.83 kB / 462.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.4362, allocations: 4 kB / 462.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.4377, allocations: 1.748 MB / 463.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4377, allocations: 64 / 463.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.4384, allocations: 463.5 kB / 464.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.4385, allocations: 107.7 kB / 464.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.4385, allocations: 3.953 kB / 464.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.4386, allocations: 4 kB / 464.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.4387, allocations: 27.78 kB / 464.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.4387, allocations: 4 kB / 464.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.344e-05/0.4388, allocations: 113.1 kB / 464.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4388, allocations: 0 / 464.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004838/0.4393, allocations: 87.69 kB / 464.6 MB, free: 13.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002326/0.4395, allocations: 130.6 kB / 464.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005029/0.44, allocations: 313.3 kB / 465 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4401, allocations: 0 / 465 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.4404, allocations: 233.3 kB / 465.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.4406, allocations: 7.688 kB / 465.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000792/0.4414, allocations: 378 kB / 465.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.4418, allocations: 0.7675 MB / 466.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.4419, allocations: 17.86 kB / 466.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.4419, allocations: 19.7 kB / 466.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4419, allocations: 3.938 kB / 466.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of Templates: time 0.005201/0.4471, allocations: 2.177 MB / 468.6 MB, free: 9.441 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_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/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches