Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 109.8 kB / 17.06 MB, free: 6.02 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.001081/0.001081, allocations: 191 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 55.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3378, allocations: 49.42 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003794/0.3417, allocations: 2.838 MB / 403.5 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3428, allocations: 0.7126 MB / 404.3 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.343, allocations: 8 kB / 404.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.3431, allocations: 59.42 kB / 404.3 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.3433, allocations: 99.06 kB / 404.4 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.3437, allocations: 123.8 kB / 404.5 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.3441, allocations: 454.7 kB / 405 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.3445, allocations: 224.9 kB / 405.2 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.3448, allocations: 171.5 kB / 405.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.345, allocations: 207.1 kB / 405.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.3451, allocations: 48 kB / 405.6 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.913e-05/0.3452, allocations: 44 kB / 405.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.939e-05/0.3452, allocations: 99.67 kB / 405.8 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.3455, allocations: 223 kB / 406 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.3459, allocations: 0.4916 MB / 406.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3459, allocations: 0 / 406.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3459, allocations: 0 / 406.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.346, allocations: 0 / 406.5 MB, free: 3.078 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001106/0.3471, allocations: 0.6935 MB / 407.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3471, allocations: 15.83 kB / 407.2 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.86e-05/0.3472, allocations: 48.38 kB / 407.2 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.3475, allocations: 277.1 kB / 407.5 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.3476, allocations: 37.31 kB / 407.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-05/0.3477, allocations: 40.38 kB / 407.6 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.3483, allocations: 451.6 kB / 408 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.3483, allocations: 3.938 kB / 408 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.3484, allocations: 16 kB / 408 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3484, allocations: 12 kB / 408.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004908/0.3489, allocations: 283.9 kB / 408.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.3507, allocations: 1.306 MB / 409.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.3512, allocations: 238.7 kB / 409.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003896/0.3516, allocations: 196.7 kB / 410.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3517, allocations: 8.5 kB / 410.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.3517, allocations: 34.56 kB / 410.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 3.336e-06/0.3517, allocations: 0 / 410.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001401/0.3531, allocations: 0.5457 MB / 410.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.3533, allocations: 239.3 kB / 410.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.3534, allocations: 207 kB / 411.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3535, allocations: 29.7 kB / 411.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.3536, allocations: 200.2 kB / 411.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/0.3537, allocations: 110.5 kB / 411.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.3538, allocations: 61.61 kB / 411.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3539, allocations: 342.8 kB / 411.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.3541, allocations: 75.95 kB / 411.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.3543, allocations: 161.3 kB / 412 MB, free: 13.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.3546, allocations: 195.4 kB / 412.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3546, allocations: 0 / 412.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004393/0.3551, allocations: 280.8 kB / 412.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3551, allocations: 4 kB / 412.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3551, allocations: 4.062 kB / 412.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3552, allocations: 4 kB / 412.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.3555, allocations: 83.89 kB / 412.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3555, allocations: 0 / 412.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3556, allocations: 27.69 kB / 412.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.3557, allocations: 16.08 kB / 412.6 MB, free: 12.51 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.3558, allocations: 157.8 kB / 412.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.3559, allocations: 23.75 kB / 412.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.837e-05/0.3559, allocations: 30.66 kB / 412.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.356, allocations: 4 kB / 412.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.356, allocations: 0 / 412.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.356, allocations: 3.984 kB / 412.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009823/0.357, allocations: 0.7672 MB / 413.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.357, allocations: 4 kB / 413.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.3572, allocations: 51.89 kB / 413.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003047/0.3576, allocations: 92.78 kB / 413.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.3576, allocations: 4 kB / 413.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.3595, allocations: 1.981 MB / 415.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3595, allocations: 0 / 415.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007243/0.3603, allocations: 0.506 MB / 416.3 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.3603, allocations: 96.92 kB / 416.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.3604, allocations: 12 kB / 416.4 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.3605, allocations: 11.98 kB / 416.4 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.3606, allocations: 23.91 kB / 416.4 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.3606, allocations: 12 kB / 416.4 MB, free: 8.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.3607, allocations: 152.5 kB / 416.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3608, allocations: 0 / 416.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003771/0.3611, allocations: 115.5 kB / 416.7 MB, free: 8.223 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.3613, allocations: 112.6 kB / 416.8 MB, free: 8.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004095/0.3617, allocations: 211.8 kB / 417 MB, free: 7.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3617, allocations: 0 / 417 MB, free: 7.895 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004518/0.3622, allocations: 270.6 kB / 417.3 MB, free: 7.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.3626, allocations: 31.48 kB / 417.3 MB, free: 7.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.3639, allocations: 0.8455 MB / 418.1 MB, free: 6.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.3643, allocations: 0.7909 MB / 418.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.504e-05/0.3644, allocations: 17.95 kB / 418.9 MB, free: 5.879 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.3644, allocations: 19.44 kB / 419 MB, free: 5.859 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3644, allocations: 4 kB / 419 MB, free: 5.855 MB / 334.1 MB Notification: Performance of Templates: time 0.006849/0.3713, allocations: 3.144 MB / 422.1 MB, free: 2.719 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches