Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00155/0.001549, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 88.44 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003749, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3272, allocations: 47.57 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.4487, allocations: 76.96 MB / 451.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.449, allocations: 67.97 kB / 451.6 MB, free: 3.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0228/0.4718, allocations: 5.406 MB / 457 MB, free: 14.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4719, allocations: 0 / 457 MB, free: 14.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.434e-05/0.4719, allocations: 8 kB / 457 MB, free: 14.32 MB / 346.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.001315/0.4732, allocations: 0.6084 MB / 457.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.4733, allocations: 8.031 kB / 457.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.4734, allocations: 47.44 kB / 457.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.4739, allocations: 279 kB / 457.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.474, allocations: 37 kB / 457.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.4741, allocations: 44 kB / 458 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.4751, allocations: 443.2 kB / 458.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.4752, allocations: 4 kB / 458.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/0.4753, allocations: 20 kB / 458.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4753, allocations: 11.94 kB / 458.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000827/0.4761, allocations: 283.9 kB / 458.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/0.4791, allocations: 1.322 MB / 460.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.4798, allocations: 242.8 kB / 460.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.4798, allocations: 8 kB / 460.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.4799, allocations: 38.55 kB / 460.3 MB, free: 10.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.665e-06/0.4799, allocations: 0 / 460.3 MB, free: 10.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.002325/0.4822, allocations: 0.5593 MB / 460.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.4824, allocations: 243.2 kB / 461.1 MB, free: 9.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.4827, allocations: 185.9 kB / 461.3 MB, free: 9.652 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.4827, allocations: 33.7 kB / 461.3 MB, free: 9.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.4829, allocations: 258.4 kB / 461.6 MB, free: 9.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.483, allocations: 98.55 kB / 461.7 MB, free: 9.262 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.4831, allocations: 8 kB / 461.7 MB, free: 9.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4832, allocations: 326.8 kB / 462 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.4835, allocations: 87.95 kB / 462.1 MB, free: 8.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.4839, allocations: 146.5 kB / 462.2 MB, free: 8.672 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.4842, allocations: 111.9 kB / 462.4 MB, free: 8.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4842, allocations: 0 / 462.4 MB, free: 8.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007563/0.485, allocations: 265 kB / 462.6 MB, free: 8.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.485, allocations: 4 kB / 462.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.4851, allocations: 7.922 kB / 462.6 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.4851, allocations: 7.953 kB / 462.6 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/0.4857, allocations: 83.92 kB / 462.7 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.4858, allocations: 8.062 kB / 462.7 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.4861, allocations: 35.62 kB / 462.8 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.4862, allocations: 12 kB / 462.8 MB, free: 8.141 MB / 346.7 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: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003382/0.4865, allocations: 157.8 kB / 462.9 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/0.4866, allocations: 27.72 kB / 463 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.686e-05/0.4867, allocations: 26.66 kB / 463 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.4867, allocations: 11.94 kB / 463 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.4868, allocations: 4 kB / 463 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4868, allocations: 0 / 463 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006549/0.4874, allocations: 389.3 kB / 463.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4875, allocations: 0 / 463.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.488, allocations: 51.95 kB / 463.4 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004977/0.4885, allocations: 84.81 kB / 463.5 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.4885, allocations: 11.98 kB / 463.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/0.4914, allocations: 1.871 MB / 465.4 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4915, allocations: 4.047 kB / 465.4 MB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.4928, allocations: 0.5163 MB / 465.9 MB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4929, allocations: 100.8 kB / 466 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.493, allocations: 12.02 kB / 466 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.4933, allocations: 15.98 kB / 466 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/0.4934, allocations: 19.97 kB / 466.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.4934, allocations: 11.94 kB / 466.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002171/0.4937, allocations: 156.4 kB / 466.2 MB, free: 4.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4937, allocations: 0 / 466.2 MB, free: 4.457 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005657/0.4942, allocations: 111.7 kB / 466.3 MB, free: 4.348 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0001861/0.4944, allocations: 107.2 kB / 466.4 MB, free: 4.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006698/0.4951, allocations: 216.2 kB / 466.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4951, allocations: 0 / 466.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006491/0.4958, allocations: 286.5 kB / 466.9 MB, free: 3.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.4961, allocations: 16 kB / 466.9 MB, free: 3.715 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.4982, allocations: 1.083 MB / 468 MB, free: 2.602 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.4986, allocations: 0.7989 MB / 468.8 MB, free: 1.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.4988, allocations: 19.44 kB / 468.8 MB, free: 1.754 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.4988, allocations: 0 / 468.8 MB, free: 1.754 MB / 346.7 MB Notification: Performance of Templates: time 0.00877/0.5075, allocations: 3.87 MB / 472.7 MB, free: 13.88 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches