Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 95.88 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 200.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002229/0.0002229, allocations: 4 kB / 306.6 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.1001, allocations: 51.5 MB / 358.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005972/0.1062, allocations: 5.271 MB / 363.3 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.1104, allocations: 2.35 MB / 365.7 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.1108, allocations: 20 kB / 365.7 MB, free: 6.449 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.1115, allocations: 278.4 kB / 366 MB, free: 6.176 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.1127, allocations: 498.5 kB / 366.5 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.1145, allocations: 1.005 MB / 367.5 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009621/0.1155, allocations: 0.7258 MB / 368.2 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.1172, allocations: 1.156 MB / 369.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.1177, allocations: 366.5 kB / 369.7 MB, free: 2.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005017/0.1182, allocations: 450 kB / 370.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.81e-05/0.1183, allocations: 48 kB / 370.2 MB, free: 1.906 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006475/0.1189, allocations: 327.6 kB / 370.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.1191, allocations: 171.3 kB / 370.7 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.1192, allocations: 209.2 kB / 370.9 MB, free: 1.207 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.1203, allocations: 1.106 MB / 372 MB, free: 100 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1203, allocations: 0 / 372 MB, free: 100 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1203, allocations: 0 / 372 MB, free: 100 kB / 302.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1203, allocations: 0 / 372 MB, free: 100 kB / 302.1 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.1565/0.2768, allocations: 1.462 MB / 373.5 MB, free: 19.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2768, allocations: 13.73 kB / 373.5 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/0.2801, allocations: 499.9 kB / 374 MB, free: 19.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006247/0.2807, allocations: 484.5 kB / 374.4 MB, free: 18.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.2808, allocations: 84.33 kB / 374.5 MB, free: 18.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.281, allocations: 113.5 kB / 374.6 MB, free: 18.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.2829, allocations: 0.9552 MB / 375.6 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.283, allocations: 1.984 kB / 375.6 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.2831, allocations: 46.62 kB / 375.6 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.2831, allocations: 31.92 kB / 375.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.2848, allocations: 0.9702 MB / 376.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005287/0.2901, allocations: 3.802 MB / 380.4 MB, free: 16.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.2918, allocations: 1.547 MB / 382 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.2919, allocations: 181.3 kB / 382.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007931/0.2927, allocations: 468.5 kB / 382.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 2.865e-06/0.2927, allocations: 4 kB / 382.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=122): time 0.008342/0.3011, allocations: 3.916 MB / 386.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.3011, allocations: 142.9 kB / 386.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/0.3016, allocations: 405.2 kB / 387.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.3016, allocations: 46.56 kB / 387.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.3019, allocations: 430.5 kB / 387.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.3021, allocations: 407.7 kB / 387.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.3021, allocations: 25.31 kB / 388 MB, free: 11.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3022, allocations: 380.5 kB / 388.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006551/0.3029, allocations: 346.9 kB / 388.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007498/0.3037, allocations: 0.5344 MB / 389.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/0.3045, allocations: 429.7 kB / 389.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.3045, allocations: 1.125 kB / 389.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002454/0.3069, allocations: 1.374 MB / 391 MB, free: 9.832 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.307, allocations: 6.375 kB / 391 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.307, allocations: 4.812 kB / 391 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000812/0.3078, allocations: 339 kB / 391.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000811/0.3086, allocations: 194.8 kB / 391.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005834/0.3145, allocations: 7.79 MB / 399.3 MB, free: 2.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007877/0.3153, allocations: 50.33 kB / 399.4 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.3154, allocations: 39.62 kB / 399.4 MB, free: 2.715 MB / 302.1 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 (111): * Single equations (assignments): 107 * 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.0004185/0.3158, allocations: 265.3 kB / 399.7 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.3159, allocations: 69.91 kB / 399.7 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.3181, allocations: 1.288 MB / 401 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.3182, allocations: 15.81 kB / 401 MB, free: 1.707 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.3182, allocations: 3.938 kB / 401 MB, free: 1.707 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.3182, allocations: 15.19 kB / 401.1 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003366/0.3216, allocations: 2.41 MB / 403.5 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.3216, allocations: 7.953 kB / 403.5 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/0.3223, allocations: 147 kB / 403.6 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007805/0.3231, allocations: 327.3 kB / 403.9 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.056e-05/0.3232, allocations: 24 kB / 404 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006817/0.33, allocations: 7.541 MB / 411.5 MB, free: 7.742 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.33, allocations: 0 / 411.5 MB, free: 7.742 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/0.3332, allocations: 1.787 MB / 413.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003731/0.3336, allocations: 216.2 kB / 413.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.3337, allocations: 24 kB / 413.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005598/0.3343, allocations: 39.98 kB / 413.6 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.3344, allocations: 88.88 kB / 413.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-05/0.3345, allocations: 35.98 kB / 413.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003031/0.3348, allocations: 271.1 kB / 413.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3348, allocations: 4 kB / 414 MB, free: 5.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0013/0.3361, allocations: 312 kB / 414.3 MB, free: 4.93 MB / 318.1 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_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 77 * 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.0003152/0.3365, allocations: 171.1 kB / 414.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002659/0.3391, allocations: 1.606 MB / 416 MB, free: 3.105 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.3391, allocations: 0 / 416 MB, free: 3.105 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.3407, allocations: 1.149 MB / 417.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.3411, allocations: 55.3 kB / 417.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.3448, allocations: 2.354 MB / 419.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/0.3453, allocations: 1.036 MB / 420.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004866/0.3458, allocations: 102 kB / 420.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.346, allocations: 55.42 kB / 420.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.346, allocations: 0 / 420.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of Templates: time 0.01779/0.3638, allocations: 10.13 MB / 430.9 MB, free: 4.148 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches