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.001015/0.001015, allocations: 199.9 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 226.6 MB / 244.7 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007997/0.0007997, allocations: 107 kB / 296.8 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003006, allocations: 8 kB / 356.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2398, allocations: 51.3 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005661/0.2455, allocations: 5.635 MB / 413.7 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004227/0.2498, allocations: 2.318 MB / 416 MB, free: 19.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006433/0.2505, allocations: 20 kB / 416 MB, free: 19.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008013/0.2513, allocations: 266.5 kB / 416.3 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.2527, allocations: 447.8 kB / 416.7 MB, free: 19.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.2544, allocations: 1.001 MB / 417.7 MB, free: 18.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009226/0.2554, allocations: 0.9887 MB / 418.7 MB, free: 17.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.2571, allocations: 1.279 MB / 420 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000413/0.2575, allocations: 362.6 kB / 420.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/0.258, allocations: 465.9 kB / 420.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-05/0.2581, allocations: 48 kB / 420.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007629/0.2588, allocations: 351.6 kB / 421.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.259, allocations: 167.3 kB / 421.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003116/0.2593, allocations: 471.4 kB / 421.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008799/0.2602, allocations: 1.127 MB / 422.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.2602, allocations: 0 / 422.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2602, allocations: 4 kB / 422.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.2602, allocations: 0 / 422.9 MB, free: 12.72 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.003648/0.2639, allocations: 1.451 MB / 424.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2639, allocations: 8.031 kB / 424.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.2668, allocations: 0.4953 MB / 424.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005936/0.2674, allocations: 494.2 kB / 425.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.739e-05/0.2675, allocations: 86.2 kB / 425.5 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.2676, allocations: 111.9 kB / 425.6 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.2692, allocations: 0.9667 MB / 426.5 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/0.2692, allocations: 4 kB / 426.5 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.08e-05/0.2693, allocations: 47.98 kB / 426.6 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.2693, allocations: 28 kB / 426.6 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.2709, allocations: 0.9652 MB / 427.6 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004986/0.2759, allocations: 3.803 MB / 431.4 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.2774, allocations: 1.545 MB / 432.9 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006411/0.2781, allocations: 432.4 kB / 433.3 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.2782, allocations: 183.2 kB / 433.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007147/0.279, allocations: 474.8 kB / 434 MB, free: 1.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 3.457e-06/0.279, allocations: 0 / 434 MB, free: 1.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.008702/0.2877, allocations: 4.024 MB / 438 MB, free: 12.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.2878, allocations: 153.5 kB / 438.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.2883, allocations: 389.5 kB / 438.5 MB, free: 12.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/0.2884, allocations: 53.69 kB / 438.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.2888, allocations: 411.7 kB / 439 MB, free: 11.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/0.2891, allocations: 433.7 kB / 439.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.2892, allocations: 24 kB / 439.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2893, allocations: 378.7 kB / 439.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006706/0.29, allocations: 358.5 kB / 440.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008599/0.2909, allocations: 0.539 MB / 440.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.2925, allocations: 0.9422 MB / 441.6 MB, free: 9.113 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2925, allocations: 0 / 441.6 MB, free: 9.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00246/0.2949, allocations: 1.378 MB / 443 MB, free: 7.711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.295, allocations: 4 kB / 443 MB, free: 7.707 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.295, allocations: 4 kB / 443 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008689/0.2959, allocations: 355.1 kB / 443.4 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.2967, allocations: 195.7 kB / 443.6 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007459/0.3042, allocations: 7.736 MB / 451.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008178/0.3051, allocations: 52.05 kB / 451.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-05/0.3051, allocations: 43.98 kB / 451.4 MB, free: 14.8 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.000561/0.3057, allocations: 257.5 kB / 451.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.3058, allocations: 71.16 kB / 451.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.3083, allocations: 1.305 MB / 453 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.3084, allocations: 12 kB / 453 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.3084, allocations: 8 kB / 453 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.3084, allocations: 7.969 kB / 453.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004048/0.3125, allocations: 2.543 MB / 455.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3125, allocations: 0 / 455.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006541/0.3132, allocations: 159.7 kB / 455.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000763/0.3139, allocations: 327.5 kB / 456.1 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/0.314, allocations: 24 kB / 456.1 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00693/0.3209, allocations: 7.441 MB / 463.5 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.321, allocations: 4.062 kB / 463.5 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/0.3246, allocations: 1.811 MB / 465.4 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/0.325, allocations: 220.2 kB / 465.6 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/0.3251, allocations: 27.98 kB / 465.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/0.3256, allocations: 39.98 kB / 465.6 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.3259, allocations: 108.7 kB / 465.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/0.326, allocations: 35.94 kB / 465.8 MB, free: 15.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003622/0.3263, allocations: 267.2 kB / 466 MB, free: 15.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3263, allocations: 0 / 466 MB, free: 15.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001235/0.3276, allocations: 316 kB / 466.3 MB, free: 15.12 MB / 346.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.0003419/0.3279, allocations: 179 kB / 466.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002675/0.3306, allocations: 1.608 MB / 468.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3306, allocations: 0 / 468.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.3323, allocations: 1.155 MB / 469.3 MB, free: 12.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.3329, allocations: 81.48 kB / 469.4 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.3366, allocations: 2.424 MB / 471.8 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.3373, allocations: 1.021 MB / 472.8 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.3375, allocations: 71.41 kB / 472.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of SimCode: time 1.283e-06/0.3375, allocations: 0 / 472.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of Templates: time 0.02929/0.3668, allocations: 26.27 MB / 499.1 MB, free: 14.08 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