Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 194 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 226.6 MB / 244.3 MB, free: 6.578 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00083/0.0008301, allocations: 91.47 kB / 296.4 MB, free: 6.781 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002537, allocations: 4 kB / 356.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2556, allocations: 51.29 MB / 407.5 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.004841/0.2605, allocations: 5.607 MB / 413.1 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003607/0.2642, allocations: 2.31 MB / 415.4 MB, free: 19.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004887/0.2647, allocations: 20 kB / 415.4 MB, free: 19.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005835/0.2653, allocations: 274.5 kB / 415.7 MB, free: 19.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009793/0.2663, allocations: 440.5 kB / 416.1 MB, free: 19.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.2678, allocations: 1.005 MB / 417.1 MB, free: 18.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006942/0.2685, allocations: 0.9848 MB / 418.1 MB, free: 17.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.27, allocations: 1.187 MB / 419.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003718/0.2704, allocations: 370.5 kB / 419.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.2708, allocations: 466 kB / 420.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.882e-05/0.2709, allocations: 48 kB / 420.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006199/0.2715, allocations: 351.7 kB / 420.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2716, allocations: 167.2 kB / 420.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.2718, allocations: 205.2 kB / 420.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007496/0.2725, allocations: 1.127 MB / 422 MB, free: 13.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2725, allocations: 0 / 422 MB, free: 13.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2725, allocations: 0 / 422 MB, free: 13.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.2726, allocations: 0 / 422 MB, free: 13.21 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.003333/0.2759, allocations: 1.46 MB / 423.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2759, allocations: 8.031 kB / 423.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/0.2788, allocations: 0.4905 MB / 424 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.2793, allocations: 485.3 kB / 424.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.264e-05/0.2794, allocations: 86.22 kB / 424.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.2795, allocations: 108 kB / 424.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.2811, allocations: 0.9667 MB / 425.6 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.2811, allocations: 0 / 425.6 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.819e-05/0.2812, allocations: 48 kB / 425.6 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.2812, allocations: 24 kB / 425.7 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.2828, allocations: 0.9691 MB / 426.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004603/0.2874, allocations: 3.811 MB / 430.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.2889, allocations: 1.533 MB / 432 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.2895, allocations: 438.7 kB / 432.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.2896, allocations: 175.2 kB / 432.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007286/0.2904, allocations: 478.5 kB / 433 MB, free: 1.566 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 2.495e-06/0.2904, allocations: 0 / 433 MB, free: 1.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.008068/0.2984, allocations: 4.029 MB / 437.1 MB, free: 13.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.2985, allocations: 141.5 kB / 437.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.299, allocations: 397.5 kB / 437.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.299, allocations: 45.7 kB / 437.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.2993, allocations: 423.6 kB / 438.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.2996, allocations: 417.9 kB / 438.5 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.2997, allocations: 27.94 kB / 438.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2998, allocations: 386.7 kB / 438.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.3005, allocations: 346.5 kB / 439.2 MB, free: 11.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000788/0.3013, allocations: 0.5434 MB / 439.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007744/0.3021, allocations: 434.9 kB / 440.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.3021, allocations: 4 kB / 440.2 MB, free: 10.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002414/0.3045, allocations: 1.367 MB / 441.6 MB, free: 8.797 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3045, allocations: 8 kB / 441.6 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3046, allocations: 4 kB / 441.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008487/0.3054, allocations: 359.1 kB / 441.9 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008131/0.3062, allocations: 199.7 kB / 442.1 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006921/0.3132, allocations: 7.732 MB / 449.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000665/0.3138, allocations: 43.98 kB / 449.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.3139, allocations: 44 kB / 449.9 MB, free: 15.89 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * 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.0004574/0.3144, allocations: 261.5 kB / 450.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.3145, allocations: 79.2 kB / 450.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/0.317, allocations: 1.305 MB / 451.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/0.317, allocations: 15.98 kB / 451.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.317, allocations: 11.95 kB / 451.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.317, allocations: 3.984 kB / 451.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.321, allocations: 2.539 MB / 454.1 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.321, allocations: 0 / 454.1 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006603/0.3216, allocations: 160 kB / 454.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007633/0.3224, allocations: 327.1 kB / 454.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/0.3225, allocations: 28.11 kB / 454.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006508/0.329, allocations: 7.428 MB / 462.1 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.329, allocations: 4 kB / 462.1 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/0.3321, allocations: 1.811 MB / 463.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.3324, allocations: 224.3 kB / 464.1 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.181e-05/0.3325, allocations: 28 kB / 464.1 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/0.333, allocations: 39.98 kB / 464.2 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.3332, allocations: 100.7 kB / 464.3 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.693e-05/0.3332, allocations: 35.98 kB / 464.3 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002801/0.3335, allocations: 275.1 kB / 464.6 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3335, allocations: 4 kB / 464.6 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00108/0.3346, allocations: 316 kB / 464.9 MB, free: 204 kB / 330.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_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * 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.0002722/0.3349, allocations: 178.9 kB / 465.1 MB, free: 12 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002404/0.3373, allocations: 1.62 MB / 466.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3373, allocations: 1.062 kB / 466.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.3388, allocations: 1.161 MB / 467.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.3393, allocations: 81.84 kB / 467.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.3427, allocations: 2.424 MB / 470.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.3433, allocations: 1.021 MB / 471.4 MB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.3436, allocations: 63.42 kB / 471.4 MB, free: 9.473 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3436, allocations: 0 / 471.4 MB, free: 9.473 MB / 346.7 MB Notification: Performance of Templates: time 0.02534/0.3689, allocations: 26.3 MB / 497.7 MB, free: 15.11 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches