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.001022/0.001021, allocations: 107.2 kB / 17.58 MB, free: 5.559 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.001078/0.001078, allocations: 192 kB / 18.51 MB, free: 4.641 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.264/1.264, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001214/0.001214, allocations: 55.92 kB / 280.6 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08179/0.08302, allocations: 46.63 MB / 327.3 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003924/0.08697, allocations: 2.774 MB / 330.1 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.08842, allocations: 0.7526 MB / 330.8 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.08865, allocations: 4 kB / 330.8 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.08886, allocations: 63.42 kB / 330.9 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.08913, allocations: 95.06 kB / 331 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.08952, allocations: 119.8 kB / 331.1 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004582/0.08999, allocations: 434.9 kB / 331.5 MB, free: 212 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003649/0.09036, allocations: 217 kB / 331.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.09065, allocations: 179.4 kB / 331.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.09093, allocations: 207.1 kB / 332.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.677e-05/0.091, allocations: 44 kB / 332.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.09108, allocations: 44 kB / 332.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.364e-05/0.09118, allocations: 99.73 kB / 332.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.09137, allocations: 215 kB / 332.5 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.09178, allocations: 498.5 kB / 333 MB, free: 14.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.09179, allocations: 4 kB / 333 MB, free: 14.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0918, allocations: 0 / 333 MB, free: 14.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.09182, allocations: 3.938 kB / 333 MB, free: 14.71 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.001016/0.09284, allocations: 0.6825 MB / 333.7 MB, free: 13.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.09288, allocations: 19.73 kB / 333.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.007e-05/0.09297, allocations: 40.47 kB / 333.7 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.09324, allocations: 272.4 kB / 334 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.09327, allocations: 33.38 kB / 334 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.09334, allocations: 44.38 kB / 334.1 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/0.09397, allocations: 455.6 kB / 334.5 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.094, allocations: 0 / 334.5 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.09404, allocations: 16 kB / 334.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.09405, allocations: 16 kB / 334.5 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.09453, allocations: 275.9 kB / 334.8 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.09623, allocations: 1.31 MB / 336.1 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.09665, allocations: 242.6 kB / 336.4 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.09701, allocations: 200.8 kB / 336.6 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.09705, allocations: 7.984 kB / 336.6 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.09709, allocations: 38.56 kB / 336.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.343e-06/0.09709, allocations: 0 / 336.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001327/0.09843, allocations: 0.5423 MB / 337.1 MB, free: 10.29 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.09854, allocations: 235.3 kB / 337.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.09874, allocations: 206.8 kB / 337.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.09877, allocations: 37.7 kB / 337.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.0989, allocations: 199.9 kB / 337.8 MB, free: 9.555 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.115e-05/0.09899, allocations: 106.5 kB / 337.9 MB, free: 9.449 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/0.09908, allocations: 57.7 kB / 338 MB, free: 9.387 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.09919, allocations: 330.8 kB / 338.3 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.09935, allocations: 71.97 kB / 338.4 MB, free: 8.984 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.09955, allocations: 164.5 kB / 338.5 MB, free: 8.793 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009022/0.1005, allocations: 369.4 kB / 338.9 MB, free: 8.426 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1005, allocations: 0 / 338.9 MB, free: 8.426 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004401/0.1009, allocations: 273.1 kB / 339.1 MB, free: 8.152 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1009, allocations: 4 kB / 339.2 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.101, allocations: 7.938 kB / 339.2 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.101, allocations: 0 / 339.2 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.1013, allocations: 83.89 kB / 339.2 MB, free: 8.059 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1013, allocations: 0 / 339.2 MB, free: 8.059 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.1015, allocations: 39.73 kB / 339.3 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.1015, allocations: 12 kB / 339.3 MB, free: 8.008 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.0002068/0.1018, allocations: 149.7 kB / 339.4 MB, free: 7.852 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.1018, allocations: 27.66 kB / 339.5 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.375e-05/0.1019, allocations: 38.64 kB / 339.5 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1019, allocations: 0 / 339.5 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.1019, allocations: 8 kB / 339.5 MB, free: 7.777 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1019, allocations: 7.938 kB / 339.5 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.103, allocations: 0.7672 MB / 340.3 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.103, allocations: 0 / 340.3 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.1032, allocations: 47.97 kB / 340.3 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000285/0.1035, allocations: 96.67 kB / 340.4 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1036, allocations: 8.031 kB / 340.4 MB, free: 6.789 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.1054, allocations: 1.977 MB / 342.4 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1055, allocations: 0 / 342.4 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007387/0.1062, allocations: 0.506 MB / 342.9 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.232e-05/0.1063, allocations: 104.8 kB / 343 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.1063, allocations: 8.062 kB / 343 MB, free: 4.016 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.1065, allocations: 8 kB / 343 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.1066, allocations: 31.94 kB / 343.1 MB, free: 3.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.1066, allocations: 8 kB / 343.1 MB, free: 3.969 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.1068, allocations: 160.3 kB / 343.2 MB, free: 3.812 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.1068, allocations: 0 / 343.2 MB, free: 3.812 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.1071, allocations: 107.6 kB / 343.3 MB, free: 3.707 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.0001153/0.1073, allocations: 99.25 kB / 343.4 MB, free: 3.598 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003986/0.1077, allocations: 219.6 kB / 343.6 MB, free: 3.383 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1077, allocations: 3.984 kB / 343.6 MB, free: 3.379 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.1081, allocations: 282.5 kB / 343.9 MB, free: 3.09 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.1084, allocations: 21.27 kB / 343.9 MB, free: 3.07 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.1098, allocations: 0.8422 MB / 344.8 MB, free: 2.199 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.1101, allocations: 0.787 MB / 345.6 MB, free: 1.387 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.751e-05/0.1102, allocations: 21.95 kB / 345.6 MB, free: 1.367 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.1103, allocations: 19.44 kB / 345.6 MB, free: 1.352 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1103, allocations: 0 / 345.6 MB, free: 1.352 MB / 286.1 MB Notification: Performance of Templates: time 0.006783/0.117, allocations: 2.91 MB / 348.5 MB, free: 14.44 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","/var/lib/jenkins/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