Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 107.6 kB / 17.15 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 198 kB / 18.07 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.92 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1259, allocations: 46.63 MB / 326.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.01023/0.1362, allocations: 6.421 MB / 333 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006836/0.1431, allocations: 2.555 MB / 335.6 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.1447, allocations: 20 kB / 335.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004203/0.1489, allocations: 1.191 MB / 336.8 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.1523, allocations: 0.6453 MB / 337.4 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.1556, allocations: 1.052 MB / 338.5 MB, free: 8.949 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.1579, allocations: 1.047 MB / 339.5 MB, free: 7.895 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.1599, allocations: 0.8034 MB / 340.3 MB, free: 7.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007226/0.1606, allocations: 410.4 kB / 340.7 MB, free: 6.668 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005852/0.1612, allocations: 0.5406 MB / 341.3 MB, free: 6.125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.1613, allocations: 68 kB / 341.3 MB, free: 6.059 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009463/0.1623, allocations: 379.6 kB / 341.7 MB, free: 5.688 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.1625, allocations: 211.1 kB / 341.9 MB, free: 5.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005208/0.163, allocations: 0.5012 MB / 342.4 MB, free: 4.977 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.1648, allocations: 1.472 MB / 343.9 MB, free: 3.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1648, allocations: 4 kB / 343.9 MB, free: 3.496 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1648, allocations: 0 / 343.9 MB, free: 3.496 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.1648, allocations: 4 kB / 343.9 MB, free: 3.492 MB / 286.1 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.005196/0.17, allocations: 1.655 MB / 345.6 MB, free: 1.785 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.1701, allocations: 12.03 kB / 345.6 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006113/0.1762, allocations: 0.5772 MB / 346.1 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.1775, allocations: 498 kB / 346.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.1776, allocations: 86.3 kB / 346.7 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.1778, allocations: 112 kB / 346.8 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.1806, allocations: 1.014 MB / 347.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.771e-05/0.1807, allocations: 7.891 kB / 347.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.1808, allocations: 55.94 kB / 347.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.1809, allocations: 28 kB / 347.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002762/0.1836, allocations: 1.028 MB / 349 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008689/0.1923, allocations: 3.865 MB / 352.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/0.1958, allocations: 2.052 MB / 354.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009672/0.1968, allocations: 451.5 kB / 355.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.197, allocations: 102.2 kB / 355.4 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009321/0.1979, allocations: 482.4 kB / 355.9 MB, free: 6.828 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 3.056e-06/0.1979, allocations: 0 / 355.9 MB, free: 6.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=127): time 0.009436/0.2074, allocations: 4.01 MB / 359.9 MB, free: 2.699 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/0.2075, allocations: 141.5 kB / 360 MB, free: 2.531 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/0.2081, allocations: 409.8 kB / 360.4 MB, free: 2.125 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.2081, allocations: 45.7 kB / 360.5 MB, free: 2.074 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.2084, allocations: 451.4 kB / 360.9 MB, free: 1.625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.2087, allocations: 421.7 kB / 361.3 MB, free: 1.207 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002996/0.209, allocations: 222.7 kB / 361.6 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2092, allocations: 386.7 kB / 361.9 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/0.2099, allocations: 362.4 kB / 362.3 MB, free: 248 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008497/0.2107, allocations: 0.5877 MB / 362.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.2123, allocations: 1.005 MB / 363.9 MB, free: 14.49 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.2123, allocations: 4 kB / 363.9 MB, free: 14.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002552/0.2149, allocations: 1.429 MB / 365.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.2149, allocations: 8 kB / 365.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.215, allocations: 4 kB / 365.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009096/0.2159, allocations: 363 kB / 365.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008568/0.2167, allocations: 219.7 kB / 365.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007521/0.2243, allocations: 7.738 MB / 373.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009566/0.2253, allocations: 47.98 kB / 373.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.2254, allocations: 51.98 kB / 373.7 MB, free: 4.074 MB / 318.1 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,rootMeanSquare.mean.y,$PRE.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.0005156/0.2259, allocations: 269.6 kB / 374 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.226, allocations: 71.16 kB / 374.1 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.2287, allocations: 1.317 MB / 375.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.2287, allocations: 16 kB / 375.4 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.2287, allocations: 7.938 kB / 375.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.2287, allocations: 15.97 kB / 375.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2079/0.4367, allocations: 2.564 MB / 378 MB, free: 51.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.4367, allocations: 3.469 kB / 378 MB, free: 51.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008464/0.4376, allocations: 150.7 kB / 378.1 MB, free: 51.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008555/0.4384, allocations: 329.5 kB / 378.5 MB, free: 51.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.589e-05/0.4385, allocations: 31.72 kB / 378.5 MB, free: 51.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007415/0.4459, allocations: 7.427 MB / 385.9 MB, free: 46.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.446, allocations: 2.969 kB / 385.9 MB, free: 46.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/0.4495, allocations: 1.838 MB / 387.8 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.4499, allocations: 233.1 kB / 388 MB, free: 45.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.45, allocations: 24.06 kB / 388 MB, free: 45.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/0.4505, allocations: 41.72 kB / 388 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/0.4508, allocations: 95.36 kB / 388.1 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.158e-05/0.4509, allocations: 35.27 kB / 388.2 MB, free: 45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003548/0.4513, allocations: 282.7 kB / 388.4 MB, free: 44.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4513, allocations: 1.406 kB / 388.4 MB, free: 44.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001416/0.4527, allocations: 320.2 kB / 388.8 MB, free: 44.82 MB / 318.1 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.0003223/0.453, allocations: 172.6 kB / 388.9 MB, free: 44.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002748/0.4558, allocations: 1.637 MB / 390.6 MB, free: 43.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4558, allocations: 3.938 kB / 390.6 MB, free: 43.81 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.4574, allocations: 1.141 MB / 391.7 MB, free: 43.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.458, allocations: 81.3 kB / 391.8 MB, free: 43.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.462, allocations: 2.487 MB / 394.3 MB, free: 41.56 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/0.4628, allocations: 1.03 MB / 395.3 MB, free: 40.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000571/0.4633, allocations: 107.6 kB / 395.4 MB, free: 40.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.4636, allocations: 57.06 kB / 395.5 MB, free: 40.8 MB / 318.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4636, allocations: 0 / 395.5 MB, free: 40.8 MB / 318.1 MB Notification: Performance of Templates: time 0.01644/0.48, allocations: 10.6 MB / 406.1 MB, free: 36.32 MB / 318.1 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