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.000986/0.0009861, allocations: 175.3 kB / 16.72 MB, free: 5.086 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.579/1.579, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007364/0.0007366, allocations: 86.42 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003093, allocations: 11.98 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2368, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005548/0.2424, allocations: 5.59 MB / 380.7 MB, free: 41.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.2472, allocations: 2.328 MB / 383 MB, free: 39.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006691/0.2479, allocations: 19.09 kB / 383 MB, free: 39.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007314/0.2487, allocations: 265.8 kB / 383.3 MB, free: 38.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.2501, allocations: 0.5909 MB / 383.9 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.2517, allocations: 0.8891 MB / 384.8 MB, free: 37.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.2529, allocations: 0.9953 MB / 385.8 MB, free: 37.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/0.2548, allocations: 1.273 MB / 387 MB, free: 36.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.2553, allocations: 373.8 kB / 387.4 MB, free: 36.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005449/0.2559, allocations: 483.9 kB / 387.9 MB, free: 35.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.256, allocations: 48.94 kB / 387.9 MB, free: 35.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008097/0.2568, allocations: 343.6 kB / 388.3 MB, free: 35.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.2569, allocations: 171.2 kB / 388.4 MB, free: 35.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.2572, allocations: 487.4 kB / 388.9 MB, free: 34.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008498/0.2581, allocations: 1.119 MB / 390 MB, free: 33.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2581, allocations: 0 / 390 MB, free: 33.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2581, allocations: 0 / 390 MB, free: 33.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.2581, allocations: 0 / 390 MB, free: 33.7 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.003634/0.2618, allocations: 1.464 MB / 391.5 MB, free: 32.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.2618, allocations: 16.03 kB / 391.5 MB, free: 32.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003355/0.2652, allocations: 0.5733 MB / 392.1 MB, free: 31.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006327/0.2659, allocations: 0.498 MB / 392.6 MB, free: 31.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.2659, allocations: 82.3 kB / 392.6 MB, free: 30.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.2661, allocations: 119.9 kB / 392.8 MB, free: 30.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.2676, allocations: 1.007 MB / 393.8 MB, free: 29.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/0.2677, allocations: 0 / 393.8 MB, free: 29.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.216e-05/0.2678, allocations: 52 kB / 393.8 MB, free: 29.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.2678, allocations: 31.94 kB / 393.9 MB, free: 29.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.2694, allocations: 1.032 MB / 394.9 MB, free: 28.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004973/0.2744, allocations: 3.883 MB / 398.8 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.2761, allocations: 2.056 MB / 400.8 MB, free: 22.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/0.2768, allocations: 443.5 kB / 401.3 MB, free: 21.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.055e-05/0.2769, allocations: 102.1 kB / 401.4 MB, free: 21.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007257/0.2776, allocations: 478.5 kB / 401.8 MB, free: 21.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=98): time 4.769e-06/0.2776, allocations: 0 / 401.8 MB, free: 21.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=127): time 0.007559/0.2852, allocations: 4.057 MB / 405.9 MB, free: 17.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.2853, allocations: 145.5 kB / 406 MB, free: 16.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.2857, allocations: 413.7 kB / 406.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.2857, allocations: 49.7 kB / 406.5 MB, free: 16.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.2859, allocations: 443.5 kB / 406.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.2861, allocations: 429.7 kB / 407.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.2862, allocations: 28 kB / 407.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.2863, allocations: 378.7 kB / 407.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005849/0.2869, allocations: 358.5 kB / 408.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007315/0.2876, allocations: 0.5876 MB / 408.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.289, allocations: 1.001 MB / 409.7 MB, free: 13.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.289, allocations: 4 kB / 409.7 MB, free: 13.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002262/0.2913, allocations: 1.425 MB / 411.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.2913, allocations: 8 kB / 411.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2913, allocations: 4 kB / 411.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007776/0.2921, allocations: 362.2 kB / 411.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007902/0.2929, allocations: 219.6 kB / 411.7 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005854/0.2988, allocations: 7.741 MB / 419.4 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008605/0.2997, allocations: 52.05 kB / 419.5 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.517e-05/0.2998, allocations: 47.98 kB / 419.5 MB, free: 2.625 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 (122): * Single equations (assignments): 118 * 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.0004895/0.3002, allocations: 269.5 kB / 419.8 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.199e-05/0.3003, allocations: 71.16 kB / 419.8 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.3025, allocations: 1.325 MB / 421.2 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.3026, allocations: 12 kB / 421.2 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.3026, allocations: 11.94 kB / 421.2 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.3026, allocations: 3.984 kB / 421.2 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/0.3066, allocations: 2.573 MB / 423.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.3066, allocations: 4 kB / 423.8 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006758/0.3073, allocations: 156 kB / 423.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007984/0.3081, allocations: 323.3 kB / 424.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-05/0.3082, allocations: 31.98 kB / 424.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00727/0.3155, allocations: 7.427 MB / 431.7 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3155, allocations: 8.062 kB / 431.7 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/0.3189, allocations: 1.839 MB / 433.5 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.3193, allocations: 228.1 kB / 433.8 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-05/0.3194, allocations: 20 kB / 433.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/0.3199, allocations: 43.98 kB / 433.8 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/0.3201, allocations: 100.8 kB / 433.9 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.3202, allocations: 32 kB / 434 MB, free: 3.445 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003193/0.3205, allocations: 283.1 kB / 434.2 MB, free: 3.172 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3205, allocations: 0 / 434.2 MB, free: 3.172 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00129/0.3218, allocations: 320 kB / 434.5 MB, free: 2.859 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (87): * Single equations (assignments): 82 * 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,(1,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002937/0.3221, allocations: 167.2 kB / 434.7 MB, free: 2.684 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002652/0.3248, allocations: 1.647 MB / 436.4 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3248, allocations: 0 / 436.4 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.3264, allocations: 1.151 MB / 437.5 MB, free: 15.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007168/0.3272, allocations: 81.55 kB / 437.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/0.3312, allocations: 2.472 MB / 440.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.3319, allocations: 1.025 MB / 441.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.3322, allocations: 71.41 kB / 441.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.3322, allocations: 0 / 441.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of Templates: time 0.02952/0.3617, allocations: 26.6 MB / 467.8 MB, free: 1.391 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/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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches