Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002356/0.002355, allocations: 180.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 74.73 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.917e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.101, allocations: 47.58 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4343/0.5353, allocations: 90.72 MB / 459.8 MB, free: 2.574 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/0.5358, allocations: 79.77 kB / 459.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1205/0.6563, allocations: 30.61 MB / 490.5 MB, free: 5.453 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6564, allocations: 0 / 490.5 MB, free: 5.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.367e-05/0.6564, allocations: 20 kB / 490.5 MB, free: 5.434 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.005307/0.6617, allocations: 1.255 MB / 491.8 MB, free: 4.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.6618, allocations: 8.031 kB / 491.8 MB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004683/0.6665, allocations: 466.3 kB / 492.2 MB, free: 3.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.668, allocations: 0.4957 MB / 492.7 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.6682, allocations: 86.3 kB / 492.8 MB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002957/0.6685, allocations: 116 kB / 492.9 MB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/0.6715, allocations: 0.9523 MB / 493.9 MB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-05/0.6717, allocations: 19.89 kB / 493.9 MB, free: 1.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/0.6718, allocations: 47.98 kB / 494 MB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.6719, allocations: 28 kB / 494 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/0.675, allocations: 0.9697 MB / 494.9 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.6864, allocations: 3.897 MB / 498.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003538/0.69, allocations: 2.032 MB / 0.4891 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.6914, allocations: 415.5 kB / 0.4895 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/0.6917, allocations: 105.9 kB / 0.4896 GB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/0.693, allocations: 465.6 kB / 0.4901 GB, free: 9.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 4.629e-06/0.693, allocations: 0 / 0.4901 GB, free: 9.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.0126/0.7056, allocations: 3.496 MB / 0.4935 GB, free: 5.844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.7058, allocations: 226.8 kB / 0.4937 GB, free: 5.574 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006858/0.7065, allocations: 363 kB / 0.4941 GB, free: 5.215 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001697/0.7067, allocations: 45.7 kB / 0.4941 GB, free: 5.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/0.7071, allocations: 493.8 kB / 0.4946 GB, free: 4.676 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005252/0.7077, allocations: 421.8 kB / 0.495 GB, free: 4.258 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/0.7078, allocations: 24 kB / 0.495 GB, free: 4.234 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.708, allocations: 358.8 kB / 0.4953 GB, free: 3.875 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009734/0.709, allocations: 326.6 kB / 0.4956 GB, free: 3.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.7101, allocations: 0.5587 MB / 0.4962 GB, free: 2.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.7113, allocations: 414.1 kB / 0.4966 GB, free: 2.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.7113, allocations: 11.95 kB / 0.4966 GB, free: 2.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003888/0.7152, allocations: 1.322 MB / 0.4979 GB, free: 1.148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.7153, allocations: 8.188 kB / 0.4979 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.7153, allocations: 8 kB / 0.4979 GB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/0.7169, allocations: 355.9 kB / 0.4982 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.7187, allocations: 215.7 kB / 0.4985 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.7301, allocations: 7.653 MB / 0.5059 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.7315, allocations: 56.05 kB / 0.506 GB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.7317, allocations: 48 kB / 0.506 GB, free: 8.273 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * 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%) 4,(1,100.0%) 2,(1,100.0%) 19,(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003212/0.7321, allocations: 176.6 kB / 0.5062 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.7323, allocations: 75.16 kB / 0.5063 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/0.736, allocations: 1.219 MB / 0.5075 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.7361, allocations: 12 kB / 0.5075 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.7361, allocations: 11.94 kB / 0.5075 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/0.7362, allocations: 11.97 kB / 0.5075 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006518/0.7427, allocations: 2.642 MB / 0.5101 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.7427, allocations: 0 / 0.5101 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.7442, allocations: 147.8 kB / 0.5102 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.7457, allocations: 331.2 kB / 0.5105 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/0.7459, allocations: 24 kB / 0.5105 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.7566, allocations: 7.4 MB / 0.5178 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.7566, allocations: 0 / 0.5178 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004789/0.7614, allocations: 1.757 MB / 0.5195 GB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005511/0.762, allocations: 224.1 kB / 0.5197 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.7622, allocations: 20 kB / 0.5197 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009089/0.7631, allocations: 43.97 kB / 0.5198 GB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003479/0.7635, allocations: 97.06 kB / 0.5199 GB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.7636, allocations: 35.98 kB / 0.5199 GB, free: 9.336 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000485/0.7641, allocations: 277.2 kB / 0.5202 GB, free: 9.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-07/0.7641, allocations: 0 / 0.5202 GB, free: 9.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001749/0.7658, allocations: 324 kB / 0.5205 GB, free: 8.754 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,currentSensorQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,(2,100.0%) 18,(1,100.0%) 4,(1,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005144/0.7664, allocations: 233.8 kB / 0.5207 GB, free: 8.512 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003837/0.7702, allocations: 1.562 MB / 0.5222 GB, free: 6.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.7703, allocations: 0 / 0.5222 GB, free: 6.895 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002562/0.7729, allocations: 1.126 MB / 0.5233 GB, free: 5.719 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.7736, allocations: 57.48 kB / 0.5234 GB, free: 5.664 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008011/0.7816, allocations: 2.043 MB / 0.5254 GB, free: 3.578 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008209/0.7824, allocations: 1.044 MB / 0.5264 GB, free: 2.504 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004763/0.7829, allocations: 63.42 kB / 0.5264 GB, free: 2.441 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.7829, allocations: 0 / 0.5264 GB, free: 2.441 MB / 410.7 MB Notification: Performance of Templates: time 0.3174/1.1, allocations: 25.2 MB / 0.5511 GB, free: 110.5 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches