Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009896/0.0009896, allocations: 181 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008372/0.0008372, allocations: 84.98 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002553/0.0002554, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2515, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.3602, allocations: 90.82 MB / 466.6 MB, free: 5.824 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.3605, allocations: 87.95 kB / 466.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07504/0.4356, allocations: 30.67 MB / 497.4 MB, free: 6.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4356, allocations: 0 / 497.4 MB, free: 6.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.976e-05/0.4356, allocations: 16 kB / 497.4 MB, free: 6.719 MB / 378.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.00333/0.439, allocations: 1.289 MB / 498.7 MB, free: 5.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.439, allocations: 12.02 kB / 498.7 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002801/0.4418, allocations: 466.3 kB / 499.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008055/0.4427, allocations: 0.5073 MB / 499.7 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.4428, allocations: 86.3 kB / 499.8 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.443, allocations: 116 kB / 499.9 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.4448, allocations: 1.007 MB / 0.4891 GB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.4449, allocations: 3.906 kB / 0.4891 GB, free: 3.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.445, allocations: 44 kB / 0.4892 GB, free: 3.074 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.445, allocations: 32 kB / 0.4892 GB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.447, allocations: 1.044 MB / 0.4902 GB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1996/0.6466, allocations: 3.896 MB / 0.494 GB, free: 93.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.6488, allocations: 2.054 MB / 0.496 GB, free: 91.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.433e-05/0.6489, allocations: 100.5 kB / 0.4961 GB, free: 91.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008051/0.6497, allocations: 481.5 kB / 0.4966 GB, free: 91.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 2.736e-06/0.6497, allocations: 1.125 kB / 0.4966 GB, free: 91.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.008146/0.6579, allocations: 3.952 MB / 0.5005 GB, free: 90.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.658, allocations: 148.9 kB / 0.5006 GB, free: 90.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.6584, allocations: 373.1 kB / 0.501 GB, free: 90.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.6584, allocations: 46.95 kB / 0.501 GB, free: 90.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.6587, allocations: 439.4 kB / 0.5014 GB, free: 90.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.659, allocations: 414.8 kB / 0.5018 GB, free: 89.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.6591, allocations: 28.28 kB / 0.5018 GB, free: 89.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.6592, allocations: 383.4 kB / 0.5022 GB, free: 89.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/0.6598, allocations: 356.5 kB / 0.5025 GB, free: 89.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007709/0.6606, allocations: 0.5755 MB / 0.5031 GB, free: 89.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.6614, allocations: 442.5 kB / 0.5035 GB, free: 89.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.6614, allocations: 2.031 kB / 0.5035 GB, free: 89.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002184/0.6636, allocations: 1.413 MB / 0.5049 GB, free: 89.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.6636, allocations: 9.844 kB / 0.5049 GB, free: 89.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6637, allocations: 3.531 kB / 0.5049 GB, free: 89.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007418/0.6644, allocations: 357 kB / 0.5053 GB, free: 89.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/0.6653, allocations: 217.3 kB / 0.5055 GB, free: 89.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005857/0.6711, allocations: 7.78 MB / 0.5131 GB, free: 83.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007524/0.6719, allocations: 49.55 kB / 0.5131 GB, free: 83.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.672, allocations: 51.22 kB / 0.5132 GB, free: 83.8 MB / 378.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: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked 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.0003974/0.6724, allocations: 264.7 kB / 0.5134 GB, free: 83.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.49e-05/0.6725, allocations: 74.41 kB / 0.5135 GB, free: 83.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.6746, allocations: 1.297 MB / 0.5148 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.6746, allocations: 11.75 kB / 0.5148 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6746, allocations: 7.812 kB / 0.5148 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.6747, allocations: 11.45 kB / 0.5148 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.6778, allocations: 2.43 MB / 0.5172 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6779, allocations: 0 / 0.5172 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.6785, allocations: 149.5 kB / 0.5173 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000687/0.6792, allocations: 337.7 kB / 0.5176 GB, free: 81.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/0.6793, allocations: 27.31 kB / 0.5177 GB, free: 81.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005137/0.6845, allocations: 7.541 MB / 0.525 GB, free: 75.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6845, allocations: 3.75 kB / 0.525 GB, free: 75.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/0.6871, allocations: 1.778 MB / 0.5268 GB, free: 74.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.6874, allocations: 248.1 kB / 0.527 GB, free: 74.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.232e-05/0.6875, allocations: 19.53 kB / 0.527 GB, free: 74.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/0.688, allocations: 37.23 kB / 0.527 GB, free: 74.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.6881, allocations: 92.5 kB / 0.5271 GB, free: 74.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/0.6882, allocations: 33.97 kB / 0.5272 GB, free: 74.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002316/0.6884, allocations: 270.6 kB / 0.5274 GB, free: 74.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6884, allocations: 7.75 kB / 0.5274 GB, free: 74.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001092/0.6895, allocations: 331 kB / 0.5277 GB, free: 73.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * Number of clocked states: 0 () * 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,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002761/0.6898, allocations: 195.6 kB / 0.5279 GB, free: 73.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.6919, allocations: 1.635 MB / 0.5295 GB, free: 73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.692, allocations: 0 / 0.5295 GB, free: 73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.6933, allocations: 1.158 MB / 0.5307 GB, free: 72.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.6936, allocations: 55.11 kB / 0.5307 GB, free: 72.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/0.6988, allocations: 2.963 MB / 0.5336 GB, free: 70.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.6993, allocations: 1.042 MB / 0.5346 GB, free: 69.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005062/0.6998, allocations: 108.5 kB / 0.5347 GB, free: 69.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.6999, allocations: 53.91 kB / 0.5348 GB, free: 69.93 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.6999, allocations: 0 / 0.5348 GB, free: 69.93 MB / 378.7 MB Notification: Performance of Templates: time 0.01539/0.7153, allocations: 10.34 MB / 0.5449 GB, free: 65.95 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches