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.001558/0.001558, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001861/0.001861, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.372/1.372, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001226/0.001226, allocations: 55.94 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0869/0.08814, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003888/0.09207, allocations: 2.781 MB / 331.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.09326, allocations: 0.7448 MB / 332.2 MB, free: 200 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.09337, allocations: 8 kB / 332.2 MB, free: 192 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.09352, allocations: 63.36 kB / 332.3 MB, free: 128 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.0937, allocations: 95.11 kB / 332.4 MB, free: 32 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.09407, allocations: 123.8 kB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.09446, allocations: 438.8 kB / 333 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.09478, allocations: 216.9 kB / 333.2 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.09498, allocations: 179.4 kB / 333.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.09523, allocations: 207.1 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/0.0953, allocations: 44 kB / 333.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.228e-05/0.09538, allocations: 44 kB / 333.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.528e-05/0.09548, allocations: 95.75 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.09571, allocations: 223 kB / 333.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005252/0.09624, allocations: 498.2 kB / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.09625, allocations: 0 / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.09626, allocations: 0 / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.09628, allocations: 4 kB / 334.4 MB, free: 13.99 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.001212/0.0975, allocations: 0.6864 MB / 335.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.09755, allocations: 15.88 kB / 335.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.089e-05/0.09765, allocations: 44.47 kB / 335.2 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.09796, allocations: 268.4 kB / 335.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.09801, allocations: 37.36 kB / 335.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.109e-05/0.09808, allocations: 40.38 kB / 335.5 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.09876, allocations: 455.6 kB / 336 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.09879, allocations: 0 / 336 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.09883, allocations: 16 kB / 336 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.09885, allocations: 8 kB / 336 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.09935, allocations: 287.9 kB / 336.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.101, allocations: 1.306 MB / 337.6 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.1015, allocations: 242.6 kB / 337.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.1018, allocations: 192.8 kB / 338 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1019, allocations: 4 kB / 338 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1019, allocations: 34.56 kB / 338 MB, free: 10.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.532e-06/0.1019, allocations: 0 / 338 MB, free: 10.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001326/0.1032, allocations: 0.5462 MB / 338.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.1034, allocations: 235.3 kB / 338.8 MB, free: 9.293 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.1036, allocations: 215 kB / 339 MB, free: 9.074 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.1036, allocations: 33.64 kB / 339 MB, free: 9.035 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.1038, allocations: 195.9 kB / 339.2 MB, free: 8.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.1038, allocations: 106.5 kB / 339.3 MB, free: 8.734 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/0.1039, allocations: 61.69 kB / 339.4 MB, free: 8.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1041, allocations: 334.8 kB / 339.7 MB, free: 8.332 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.1042, allocations: 71.97 kB / 339.8 MB, free: 8.262 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.1044, allocations: 152.8 kB / 340 MB, free: 8.082 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008311/0.1053, allocations: 369.9 kB / 340.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1053, allocations: 0 / 340.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000449/0.1057, allocations: 277.1 kB / 340.6 MB, free: 7.438 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1058, allocations: 8 kB / 340.6 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1058, allocations: 0 / 340.6 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1058, allocations: 7.938 kB / 340.6 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.1061, allocations: 79.89 kB / 340.7 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1061, allocations: 8.062 kB / 340.7 MB, free: 7.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.1063, allocations: 27.69 kB / 340.7 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.1063, allocations: 12 kB / 340.7 MB, free: 7.297 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.0002328/0.1066, allocations: 161.8 kB / 340.9 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.1066, allocations: 27.66 kB / 340.9 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.1067, allocations: 26.66 kB / 340.9 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.1067, allocations: 7.984 kB / 340.9 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1067, allocations: 7.938 kB / 340.9 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1067, allocations: 0 / 340.9 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1078, allocations: 0.7633 MB / 341.7 MB, free: 6.234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1078, allocations: 4 kB / 341.7 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.108, allocations: 47.95 kB / 341.8 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002736/0.1083, allocations: 88.84 kB / 341.8 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.1084, allocations: 11.98 kB / 341.9 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.1103, allocations: 1.973 MB / 343.8 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1103, allocations: 3.938 kB / 343.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.1111, allocations: 0.5101 MB / 344.3 MB, free: 3.434 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.1111, allocations: 96.83 kB / 344.4 MB, free: 3.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.1112, allocations: 15.98 kB / 344.5 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.1113, allocations: 12.12 kB / 344.5 MB, free: 3.293 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.1114, allocations: 23.91 kB / 344.5 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1114, allocations: 12 kB / 344.5 MB, free: 3.258 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.1116, allocations: 156.3 kB / 344.7 MB, free: 3.105 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1116, allocations: 4 kB / 344.7 MB, free: 3.102 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.112, allocations: 107.7 kB / 344.8 MB, free: 2.996 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.0001247/0.1121, allocations: 103.2 kB / 344.9 MB, free: 2.883 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00041/0.1125, allocations: 211.8 kB / 345.1 MB, free: 2.676 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1125, allocations: 0 / 345.1 MB, free: 2.676 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.113, allocations: 274.7 kB / 345.3 MB, free: 2.395 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.1133, allocations: 24.39 kB / 345.4 MB, free: 2.371 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.1145, allocations: 0.834 MB / 346.2 MB, free: 1.508 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.115, allocations: 0.7831 MB / 347 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.255e-05/0.1151, allocations: 29.92 kB / 347 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.1151, allocations: 19.44 kB / 347 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1151, allocations: 0 / 347 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of Templates: time 0.006466/0.1216, allocations: 2.901 MB / 349.9 MB, free: 13.75 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches