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.001042/0.001042, allocations: 96.7 kB / 17.3 MB, free: 6.387 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.001402/0.001402, allocations: 177.1 kB / 18.21 MB, free: 5.551 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.396/1.396, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004554/0.0004556, allocations: 12 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.086/0.08647, allocations: 47.58 MB / 329 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002558/0.08907, allocations: 2.438 MB / 331.4 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.09009, allocations: 0.7332 MB / 332.1 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.09023, allocations: 4 kB / 332.1 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.991e-05/0.09032, allocations: 51.61 kB / 332.2 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.0905, allocations: 71.38 kB / 332.2 MB, free: 468 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.09084, allocations: 107.8 kB / 332.4 MB, free: 360 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.09124, allocations: 414.9 kB / 332.8 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.09155, allocations: 185.9 kB / 332.9 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.09174, allocations: 147.4 kB / 333.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.09194, allocations: 167.2 kB / 333.2 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.092, allocations: 28 kB / 333.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.576e-05/0.09205, allocations: 24 kB / 333.3 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.09212, allocations: 71.73 kB / 333.4 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.09229, allocations: 208.7 kB / 333.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.09267, allocations: 470.4 kB / 334 MB, free: 14.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.09268, allocations: 0 / 334 MB, free: 14.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.09269, allocations: 0 / 334 MB, free: 14.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.0927, allocations: 0 / 334 MB, free: 14.66 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.0009011/0.09361, allocations: 0.6203 MB / 334.7 MB, free: 13.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.09365, allocations: 15.97 kB / 334.7 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/0.09373, allocations: 44.38 kB / 334.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.094, allocations: 276.4 kB / 335 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.09404, allocations: 37.38 kB / 335 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.09411, allocations: 40.38 kB / 335.1 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.09479, allocations: 459.6 kB / 335.5 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.09482, allocations: 8 kB / 335.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.09487, allocations: 16 kB / 335.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.09488, allocations: 8 kB / 335.5 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004911/0.09538, allocations: 283.9 kB / 335.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.09713, allocations: 1.318 MB / 337.1 MB, free: 11.35 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.09758, allocations: 242.3 kB / 337.4 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.09794, allocations: 196.7 kB / 337.6 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.09797, allocations: 4 kB / 337.6 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.09801, allocations: 38.56 kB / 337.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.09802, allocations: 0 / 337.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001399/0.09942, allocations: 0.5626 MB / 338.2 MB, free: 10.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.09955, allocations: 235.3 kB / 338.4 MB, free: 9.984 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.09976, allocations: 210.8 kB / 338.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.09979, allocations: 29.7 kB / 338.6 MB, free: 9.734 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.09993, allocations: 199.9 kB / 338.8 MB, free: 9.535 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.176e-05/0.1, allocations: 102.5 kB / 338.9 MB, free: 9.434 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.1001, allocations: 33.7 kB / 339 MB, free: 9.395 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1002, allocations: 334.8 kB / 339.3 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.1003, allocations: 83.95 kB / 339.4 MB, free: 8.977 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.1006, allocations: 152.4 kB / 339.5 MB, free: 8.797 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008798/0.1014, allocations: 377.4 kB / 339.9 MB, free: 8.422 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1015, allocations: 0 / 339.9 MB, free: 8.422 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004475/0.1019, allocations: 281 kB / 340.2 MB, free: 8.141 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1019, allocations: 8 kB / 340.2 MB, free: 8.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1019, allocations: 0 / 340.2 MB, free: 8.133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.102, allocations: 4 kB / 340.2 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.1023, allocations: 79.89 kB / 340.2 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1023, allocations: 4 kB / 340.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.1025, allocations: 35.67 kB / 340.3 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.1026, allocations: 16.06 kB / 340.3 MB, free: 7.996 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.0002216/0.1028, allocations: 161.7 kB / 340.5 MB, free: 7.828 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.1028, allocations: 31.59 kB / 340.5 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.1029, allocations: 30.64 kB / 340.5 MB, free: 7.766 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1029, allocations: 4 kB / 340.5 MB, free: 7.762 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.1029, allocations: 4 kB / 340.5 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.103, allocations: 7.922 kB / 340.5 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009788/0.1039, allocations: 0.7711 MB / 341.3 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.104, allocations: 0 / 341.3 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.1042, allocations: 47.97 kB / 341.4 MB, free: 6.871 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002832/0.1045, allocations: 92.83 kB / 341.4 MB, free: 6.777 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.1045, allocations: 4 kB / 341.4 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.1063, allocations: 1.835 MB / 343.3 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1064, allocations: 0 / 343.3 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.1071, allocations: 0.5209 MB / 343.8 MB, free: 4.258 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.1072, allocations: 92.86 kB / 343.9 MB, free: 4.148 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.1072, allocations: 8.062 kB / 343.9 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1074, allocations: 20.11 kB / 343.9 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.1074, allocations: 23.97 kB / 343.9 MB, free: 4.098 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1075, allocations: 4 kB / 343.9 MB, free: 4.094 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.1076, allocations: 152.5 kB / 344.1 MB, free: 3.945 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1076, allocations: 8 kB / 344.1 MB, free: 3.938 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.108, allocations: 111.6 kB / 344.2 MB, free: 3.828 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.0001161/0.1081, allocations: 99.25 kB / 344.3 MB, free: 3.723 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003923/0.1085, allocations: 211.8 kB / 344.5 MB, free: 3.516 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.1085, allocations: 0 / 344.5 MB, free: 3.516 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.1089, allocations: 278.5 kB / 344.8 MB, free: 3.23 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.1092, allocations: 28.27 kB / 344.8 MB, free: 3.203 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.1105, allocations: 1.093 MB / 345.9 MB, free: 2.086 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1109, allocations: 0.7909 MB / 346.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.192e-05/0.111, allocations: 21.94 kB / 346.7 MB, free: 1.238 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.111, allocations: 19.44 kB / 346.7 MB, free: 1.223 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.111, allocations: 0 / 346.7 MB, free: 1.223 MB / 286.1 MB Notification: Performance of Templates: time 0.005793/0.1168, allocations: 2.718 MB / 349.5 MB, free: 14.5 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