Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001006/0.001006, allocations: 102.9 kB / 17.16 MB, free: 6.316 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.001028/0.001028, allocations: 190 kB / 18.07 MB, free: 5.414 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.27/1.27, 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.001123/0.001123, allocations: 59.92 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08254/0.08367, allocations: 46.61 MB / 326.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003629/0.08734, allocations: 2.827 MB / 329.4 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.08843, allocations: 0.7487 MB / 330.2 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.769e-05/0.08854, allocations: 8 kB / 330.2 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.08866, allocations: 47.61 kB / 330.2 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.08884, allocations: 75.38 kB / 330.3 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.08917, allocations: 103.8 kB / 330.4 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000363/0.08955, allocations: 414.8 kB / 330.8 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.08984, allocations: 186 kB / 331 MB, free: 496 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.09002, allocations: 171.5 kB / 331.1 MB, free: 324 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.09022, allocations: 191.2 kB / 331.3 MB, free: 132 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.599e-05/0.09028, allocations: 36 kB / 331.4 MB, free: 96 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.974e-05/0.09035, allocations: 32 kB / 331.4 MB, free: 64 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.998e-05/0.09044, allocations: 91.67 kB / 331.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.09062, allocations: 203 kB / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.091, allocations: 482.5 kB / 332.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.09101, allocations: 0 / 332.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.09102, allocations: 0 / 332.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.09104, allocations: 0 / 332.2 MB, free: 15.3 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001034/0.09208, allocations: 0.6904 MB / 332.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.09212, allocations: 8.031 kB / 332.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.228e-05/0.09221, allocations: 44.47 kB / 332.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.09249, allocations: 280.4 kB / 333.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.09253, allocations: 33.38 kB / 333.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.754e-05/0.0926, allocations: 40.38 kB / 333.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006564/0.09327, allocations: 447.6 kB / 333.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.0933, allocations: 8 kB / 333.7 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.09334, allocations: 19.98 kB / 333.7 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.09336, allocations: 8 kB / 333.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.09384, allocations: 287.9 kB / 334 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.09555, allocations: 1.318 MB / 335.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.09599, allocations: 230.7 kB / 335.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.09634, allocations: 200.7 kB / 335.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.09638, allocations: 4 kB / 335.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.09641, allocations: 38.56 kB / 335.8 MB, free: 11.45 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.382e-06/0.09642, allocations: 0 / 335.8 MB, free: 11.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001314/0.09774, allocations: 0.543 MB / 336.3 MB, free: 10.88 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/0.09784, allocations: 239.3 kB / 336.6 MB, free: 10.59 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.09803, allocations: 214.8 kB / 336.8 MB, free: 10.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.09806, allocations: 33.7 kB / 336.8 MB, free: 10.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.09817, allocations: 191.9 kB / 337 MB, free: 10.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/0.09824, allocations: 106.5 kB / 337.1 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.21e-05/0.09834, allocations: 61.69 kB / 337.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.09846, allocations: 338.8 kB / 337.5 MB, free: 9.629 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.09861, allocations: 67.97 kB / 337.5 MB, free: 9.562 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.09882, allocations: 164.4 kB / 337.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008436/0.09967, allocations: 361.5 kB / 338.1 MB, free: 9.012 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.09968, allocations: 4 kB / 338.1 MB, free: 9.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004307/0.1001, allocations: 276.9 kB / 338.3 MB, free: 8.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1001, allocations: 4 kB / 338.3 MB, free: 8.727 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1002, allocations: 4 kB / 338.3 MB, free: 8.723 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1002, allocations: 7.938 kB / 338.3 MB, free: 8.715 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.1005, allocations: 79.89 kB / 338.4 MB, free: 8.637 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1005, allocations: 8.062 kB / 338.4 MB, free: 8.629 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.1007, allocations: 27.69 kB / 338.5 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.1007, allocations: 12 kB / 338.5 MB, free: 8.59 MB / 286.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real C1.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real 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.0002522/0.101, allocations: 161.7 kB / 338.6 MB, free: 8.422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.101, allocations: 27.66 kB / 338.7 MB, free: 8.395 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.08e-05/0.1011, allocations: 30.64 kB / 338.7 MB, free: 8.363 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1011, allocations: 8 kB / 338.7 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.1011, allocations: 0 / 338.7 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1011, allocations: 7.938 kB / 338.7 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.1022, allocations: 0.7672 MB / 339.5 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1022, allocations: 0 / 339.5 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.1024, allocations: 47.97 kB / 339.5 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002837/0.1027, allocations: 88.84 kB / 339.6 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.1027, allocations: 7.984 kB / 339.6 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.1045, allocations: 1.843 MB / 341.5 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1045, allocations: 0 / 341.5 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007215/0.1052, allocations: 0.5054 MB / 342 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.1053, allocations: 100.8 kB / 342.1 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.1053, allocations: 12.11 kB / 342.1 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.1055, allocations: 15.94 kB / 342.1 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.1056, allocations: 28.02 kB / 342.1 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1056, allocations: 16 kB / 342.1 MB, free: 4.68 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1057, allocations: 144.6 kB / 342.3 MB, free: 4.539 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1057, allocations: 0 / 342.3 MB, free: 4.539 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003516/0.1061, allocations: 107.7 kB / 342.4 MB, free: 4.434 MB / 286.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.0001305/0.1062, allocations: 103.2 kB / 342.5 MB, free: 4.324 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004013/0.1066, allocations: 211.6 kB / 342.7 MB, free: 4.117 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1066, allocations: 0 / 342.7 MB, free: 4.117 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000404/0.107, allocations: 274.7 kB / 342.9 MB, free: 3.836 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.1074, allocations: 27.94 kB / 343 MB, free: 3.809 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1086, allocations: 0.995 MB / 344 MB, free: 2.785 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.109, allocations: 0.7831 MB / 344.8 MB, free: 1.973 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.369e-05/0.1091, allocations: 29.94 kB / 344.8 MB, free: 1.941 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.1092, allocations: 23.38 kB / 344.8 MB, free: 1.922 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1092, allocations: 0 / 344.8 MB, free: 1.922 MB / 286.1 MB Notification: Performance of Templates: time 0.005671/0.1148, allocations: 2.753 MB / 347.6 MB, free: 15.17 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches