Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008857/0.0008854, allocations: 94.42 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.000251, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2102, allocations: 47.58 MB / 376.6 MB, free: 45.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005431/0.2157, allocations: 5.613 MB / 382.2 MB, free: 41.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00411/0.2199, allocations: 3.535 MB / 385.7 MB, free: 37.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008612/0.2208, allocations: 19.09 kB / 385.8 MB, free: 37.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009821/0.2218, allocations: 340.5 kB / 386.1 MB, free: 37.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.2236, allocations: 1.004 MB / 387.1 MB, free: 36.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.2256, allocations: 2.086 MB / 389.2 MB, free: 34.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.227, allocations: 1.037 MB / 390.2 MB, free: 34.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.2291, allocations: 1.983 MB / 392.2 MB, free: 32.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005521/0.2296, allocations: 374.3 kB / 392.6 MB, free: 31.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005876/0.2302, allocations: 0.4976 MB / 393.1 MB, free: 31.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.2304, allocations: 52 kB / 393.1 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008252/0.2312, allocations: 347.6 kB / 393.5 MB, free: 30.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.2314, allocations: 179.2 kB / 393.6 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004473/0.2319, allocations: 0.4951 MB / 394.1 MB, free: 30.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.2333, allocations: 1.438 MB / 395.6 MB, free: 28.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2333, allocations: 0 / 395.6 MB, free: 28.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2333, allocations: 0 / 395.6 MB, free: 28.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.282e-05/0.2334, allocations: 0 / 395.6 MB, free: 28.63 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.003581/0.2369, allocations: 1.462 MB / 397 MB, free: 27.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.237, allocations: 12.02 kB / 397 MB, free: 27.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003586/0.2406, allocations: 0.5811 MB / 397.6 MB, free: 26.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007427/0.2413, allocations: 494 kB / 398.1 MB, free: 26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.2414, allocations: 94.28 kB / 398.2 MB, free: 25.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.2416, allocations: 115.9 kB / 398.3 MB, free: 25.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.2434, allocations: 1.007 MB / 399.3 MB, free: 24.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.2434, allocations: 4 kB / 399.3 MB, free: 24.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.614e-05/0.2435, allocations: 44 kB / 399.4 MB, free: 24.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.2435, allocations: 28 kB / 399.4 MB, free: 24.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.2452, allocations: 1.04 MB / 400.4 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005101/0.2503, allocations: 3.891 MB / 404.3 MB, free: 19.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.252, allocations: 2.052 MB / 406.4 MB, free: 17.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006534/0.2527, allocations: 447.5 kB / 406.8 MB, free: 16.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.92e-05/0.2528, allocations: 102.2 kB / 406.9 MB, free: 16.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007095/0.2535, allocations: 470.5 kB / 407.4 MB, free: 16.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=98): time 3.456e-06/0.2535, allocations: 4 kB / 407.4 MB, free: 16.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=127): time 0.007607/0.2611, allocations: 4.061 MB / 411.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.2612, allocations: 145.5 kB / 411.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.2616, allocations: 413.7 kB / 412 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.2616, allocations: 49.7 kB / 412 MB, free: 11.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.2619, allocations: 443.5 kB / 412.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.2621, allocations: 425.7 kB / 412.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.2621, allocations: 28 kB / 412.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.2622, allocations: 382.7 kB / 413.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.2628, allocations: 362.5 kB / 413.6 MB, free: 9.703 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/0.2635, allocations: 0.5814 MB / 414.2 MB, free: 9.043 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.2648, allocations: 0.9968 MB / 415.2 MB, free: 7.969 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.2648, allocations: 0 / 415.2 MB, free: 7.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002145/0.267, allocations: 1.425 MB / 416.6 MB, free: 6.527 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.267, allocations: 10.81 kB / 416.7 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.267, allocations: 11.98 kB / 416.7 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007794/0.2678, allocations: 359.9 kB / 417 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/0.2686, allocations: 215.7 kB / 417.2 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006138/0.2748, allocations: 7.731 MB / 425 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/0.2755, allocations: 52.05 kB / 425 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-05/0.2756, allocations: 48 kB / 425.1 MB, free: 13.57 MB / 314.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004449/0.276, allocations: 269.5 kB / 425.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.2762, allocations: 75.16 kB / 425.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.2788, allocations: 1.313 MB / 426.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.2788, allocations: 16 kB / 426.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/0.2788, allocations: 7.938 kB / 426.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.2788, allocations: 12.09 kB / 426.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00425/0.2831, allocations: 2.58 MB / 429.3 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2831, allocations: 0 / 429.3 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000691/0.2838, allocations: 160 kB / 429.5 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007839/0.2846, allocations: 327.3 kB / 429.8 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.2847, allocations: 24 kB / 429.8 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006936/0.2916, allocations: 7.431 MB / 437.2 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2916, allocations: 0 / 437.2 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.2947, allocations: 1.835 MB / 439.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/0.2951, allocations: 224.1 kB / 439.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.2953, allocations: 28 kB / 439.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/0.2958, allocations: 39.98 kB / 439.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.296, allocations: 96.8 kB / 439.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/0.2961, allocations: 39.98 kB / 439.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000302/0.2964, allocations: 283.1 kB / 439.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2964, allocations: 0 / 439.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001103/0.2975, allocations: 320 kB / 440.1 MB, free: 13.8 MB / 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) * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002816/0.2978, allocations: 179.2 kB / 440.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002611/0.3004, allocations: 1.631 MB / 441.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3004, allocations: 1.438 kB / 441.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.302, allocations: 1.161 MB / 443.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.3026, allocations: 78.17 kB / 443.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.3063, allocations: 2.552 MB / 445.7 MB, free: 8.039 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006127/0.3069, allocations: 1.025 MB / 446.7 MB, free: 6.988 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005157/0.3075, allocations: 110.4 kB / 446.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.3076, allocations: 55.42 kB / 446.9 MB, free: 6.82 MB / 330.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3076, allocations: 0 / 446.9 MB, free: 6.82 MB / 330.7 MB Notification: Performance of Templates: time 0.01863/0.3263, allocations: 10.41 MB / 457.3 MB, free: 12.4 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches