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.002636/0.002641, allocations: 182.6 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.631/3.631, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001714/0.001714, allocations: 88.11 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006406/0.0006406, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.5297, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.01472/0.5445, allocations: 5.217 MB / 379.7 MB, free: 41.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008783/0.5534, allocations: 2.345 MB / 382.1 MB, free: 39.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.555, allocations: 22.75 kB / 382.1 MB, free: 39.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.5569, allocations: 277.9 kB / 382.4 MB, free: 39.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004297/0.5613, allocations: 0.6274 MB / 383 MB, free: 38.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004337/0.5657, allocations: 0.895 MB / 383.9 MB, free: 38.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003211/0.5689, allocations: 0.7285 MB / 384.6 MB, free: 37.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0046/0.5736, allocations: 1.155 MB / 385.8 MB, free: 36.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.5751, allocations: 369.7 kB / 386.1 MB, free: 36.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.5765, allocations: 472.4 kB / 386.6 MB, free: 36.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002885/0.5769, allocations: 48.03 kB / 386.7 MB, free: 36.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.5788, allocations: 306.2 kB / 387 MB, free: 36.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.5792, allocations: 179.9 kB / 387.1 MB, free: 36.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005593/0.5797, allocations: 203.1 kB / 387.3 MB, free: 35.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.5824, allocations: 1.107 MB / 388.4 MB, free: 34.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5824, allocations: 0 / 388.4 MB, free: 34.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.848e-06/0.5825, allocations: 0 / 388.4 MB, free: 34.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.5825, allocations: 4 kB / 388.4 MB, free: 34.87 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.008813/0.5913, allocations: 1.472 MB / 389.9 MB, free: 33.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/0.5914, allocations: 15.95 kB / 389.9 MB, free: 33.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009418/0.6009, allocations: 0.5802 MB / 390.5 MB, free: 32.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.6027, allocations: 485.3 kB / 391 MB, free: 32.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.6028, allocations: 86.3 kB / 391.1 MB, free: 32.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003725/0.6032, allocations: 116 kB / 391.2 MB, free: 32.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007439/0.6107, allocations: 1.003 MB / 392.2 MB, free: 31.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.842e-05/0.6109, allocations: 7.906 kB / 392.2 MB, free: 31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.6111, allocations: 44 kB / 392.2 MB, free: 30.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.6112, allocations: 32 kB / 392.3 MB, free: 30.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005607/0.6168, allocations: 1.036 MB / 393.3 MB, free: 29.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/0.6304, allocations: 3.891 MB / 397.2 MB, free: 25.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004446/0.6349, allocations: 2.049 MB / 399.2 MB, free: 23.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.6352, allocations: 106.2 kB / 399.3 MB, free: 23.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001879/0.6371, allocations: 478.5 kB / 399.8 MB, free: 22.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=98): time 7.154e-06/0.6372, allocations: 0 / 399.8 MB, free: 22.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=124): time 0.02011/0.6573, allocations: 3.964 MB / 403.8 MB, free: 18.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.6575, allocations: 145.5 kB / 403.9 MB, free: 18.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009368/0.6585, allocations: 409.7 kB / 404.3 MB, free: 18.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002194/0.6587, allocations: 45.7 kB / 404.4 MB, free: 18.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/0.6592, allocations: 485.9 kB / 404.8 MB, free: 17.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000564/0.6598, allocations: 417.9 kB / 405.2 MB, free: 17.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.6599, allocations: 28 kB / 405.3 MB, free: 17.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.6601, allocations: 354.8 kB / 405.6 MB, free: 16.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.6618, allocations: 362.5 kB / 406 MB, free: 16.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.6637, allocations: 0.5762 MB / 406.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.6657, allocations: 444.3 kB / 407 MB, free: 15.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.6657, allocations: 3.953 kB / 407 MB, free: 15.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00589/0.6716, allocations: 1.392 MB / 408.4 MB, free: 14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.6717, allocations: 8 kB / 408.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.6718, allocations: 4 kB / 408.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/0.6739, allocations: 345.2 kB / 408.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.6763, allocations: 215.6 kB / 408.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/0.6906, allocations: 7.786 MB / 416.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.6925, allocations: 48.11 kB / 416.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.6927, allocations: 55.98 kB / 416.8 MB, free: 5.004 MB / 298.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,(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008987/0.6936, allocations: 265.6 kB / 417.1 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.6939, allocations: 71.16 kB / 417.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00573/0.6996, allocations: 1.297 MB / 418.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/0.6997, allocations: 19.94 kB / 418.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/0.6998, allocations: 4 kB / 418.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.788e-05/0.6998, allocations: 11.94 kB / 418.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008814/0.7086, allocations: 2.439 MB / 420.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.7087, allocations: 0 / 420.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/0.7106, allocations: 151.8 kB / 421.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/0.7126, allocations: 331.1 kB / 421.4 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/0.7128, allocations: 27.94 kB / 421.4 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01642/0.7293, allocations: 7.532 MB / 429 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.7294, allocations: 0 / 429 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008372/0.7377, allocations: 1.801 MB / 430.8 MB, free: 6.395 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009134/0.7387, allocations: 220.2 kB / 431 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.739, allocations: 20 kB / 431 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/0.7411, allocations: 39.98 kB / 431 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005392/0.7417, allocations: 92.86 kB / 431.1 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/0.7418, allocations: 32 kB / 431.2 MB, free: 5.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007259/0.7426, allocations: 279.2 kB / 431.4 MB, free: 5.707 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7426, allocations: 0 / 431.4 MB, free: 5.707 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003347/0.746, allocations: 316 kB / 431.7 MB, free: 5.398 MB / 314.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,sourceQS.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%) 19,(1,100.0%) 2,(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.0006655/0.7467, allocations: 163.1 kB / 431.9 MB, free: 5.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007067/0.7538, allocations: 1.631 MB / 433.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.7539, allocations: 0 / 433.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004313/0.7582, allocations: 1.165 MB / 434.7 MB, free: 2.336 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.7594, allocations: 57.5 kB / 434.7 MB, free: 2.277 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009546/0.7689, allocations: 2.413 MB / 437.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.7703, allocations: 1.044 MB / 438.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007126/0.771, allocations: 67.42 kB / 438.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of SimCode: time 4.388e-06/0.7711, allocations: 0 / 438.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of Templates: time 0.07735/0.8484, allocations: 25.08 MB / 463.3 MB, free: 5.535 MB / 346.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