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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009276/0.0009278, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009506/0.0009508, allocations: 90.7 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.542e-05/1.545e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0923/0.09233, allocations: 47.59 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3219/0.4143, allocations: 76.44 MB / 439.5 MB, free: 3.168 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.4146, allocations: 76.2 kB / 439.6 MB, free: 3.125 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01489/0.4295, allocations: 5.348 MB / 444.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4296, allocations: 0 / 444.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.4296, allocations: 8 kB / 444.9 MB, free: 14.68 MB / 330.7 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.000935/0.4306, allocations: 0.5882 MB / 445.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.4306, allocations: 12.03 kB / 445.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.977e-05/0.4307, allocations: 39.53 kB / 445.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.4311, allocations: 279 kB / 445.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.4311, allocations: 12.77 kB / 445.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.4312, allocations: 31.05 kB / 445.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004626/0.4316, allocations: 243.1 kB / 446.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/0.4323, allocations: 375.1 kB / 446.5 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.4323, allocations: 4 kB / 446.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/0.4324, allocations: 0 / 446.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.4324, allocations: 8 kB / 446.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.4342, allocations: 1.237 MB / 447.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.4346, allocations: 217.2 kB / 448 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.4349, allocations: 177.6 kB / 448.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.4349, allocations: 4 kB / 448.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.435, allocations: 38 kB / 448.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.435, allocations: 0 / 448.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005578/0.4356, allocations: 265.5 kB / 448.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.4357, allocations: 243.3 kB / 448.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.4359, allocations: 149.3 kB / 448.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.4359, allocations: 25.7 kB / 448.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.436, allocations: 205.5 kB / 449 MB, free: 10.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.4361, allocations: 94.94 kB / 449.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.4361, allocations: 0 / 449.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4363, allocations: 339.4 kB / 449.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.4364, allocations: 56.19 kB / 449.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.4366, allocations: 135.6 kB / 449.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.4367, allocations: 81.59 kB / 449.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4367, allocations: 4 kB / 449.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003321/0.4371, allocations: 233.1 kB / 450 MB, free: 10.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4371, allocations: 8 kB / 450 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4371, allocations: 0 / 450 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4371, allocations: 7.953 kB / 450 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.4375, allocations: 79.7 kB / 450.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.4375, allocations: 4 kB / 450.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.4376, allocations: 31.73 kB / 450.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.4377, allocations: 8 kB / 450.1 MB, free: 10.04 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = "V" protected = true ) "Capacitor voltage" type: Real C1.vinternal:VARIABLE(unit = "V" 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.4378, allocations: 108.9 kB / 450.2 MB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.4379, allocations: 19.81 kB / 450.2 MB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.584e-05/0.438, allocations: 29.83 kB / 450.3 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.438, allocations: 7.953 kB / 450.3 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.438, allocations: 0 / 450.3 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.438, allocations: 7.984 kB / 450.3 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009572/0.439, allocations: 0.6814 MB / 451 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.439, allocations: 0 / 451 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.4392, allocations: 55.86 kB / 451 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/0.4396, allocations: 86.94 kB / 451.1 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.4396, allocations: 4.031 kB / 451.1 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.4414, allocations: 1.749 MB / 452.8 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4414, allocations: 0 / 452.8 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000594/0.442, allocations: 482.2 kB / 453.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.4421, allocations: 100.8 kB / 453.4 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.4421, allocations: 4.062 kB / 453.4 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.4423, allocations: 11.98 kB / 453.4 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.4423, allocations: 19.22 kB / 453.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.4424, allocations: 11 kB / 453.5 MB, free: 6.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.85e-05/0.4425, allocations: 124.2 kB / 453.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4425, allocations: 0 / 453.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004253/0.4429, allocations: 95.69 kB / 453.7 MB, free: 6.789 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001636/0.4431, allocations: 107.2 kB / 453.8 MB, free: 6.676 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.4434, allocations: 186.6 kB / 454 MB, free: 6.547 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4434, allocations: 0 / 454 MB, free: 6.547 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.4438, allocations: 241.3 kB / 454.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.444, allocations: 11.94 kB / 454.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.4451, allocations: 0.6716 MB / 454.9 MB, free: 5.684 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.4455, allocations: 0.8026 MB / 455.7 MB, free: 4.855 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.301e-05/0.4456, allocations: 26 kB / 455.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.4457, allocations: 22.31 kB / 455.7 MB, free: 4.812 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4457, allocations: 0 / 455.7 MB, free: 4.812 MB / 330.7 MB Notification: Performance of Templates: time 0.005672/0.4513, allocations: 2.409 MB / 458.1 MB, free: 2.414 MB / 330.7 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