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.0009821/0.0009822, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.476/1.476, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009589/0.0009589, allocations: 85.72 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.648e-05/3.661e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 47.57 MB / 370 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3578/0.4786, allocations: 76.87 MB / 446.9 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4789, allocations: 68.84 kB / 447 MB, free: 352 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01478/0.4937, allocations: 5.409 MB / 452.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4938, allocations: 0 / 452.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.4938, allocations: 8 kB / 452.4 MB, free: 11.77 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.0008626/0.4947, allocations: 0.5912 MB / 453 MB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4947, allocations: 8.031 kB / 453 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.245e-05/0.4948, allocations: 43.53 kB / 453 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.4952, allocations: 282.1 kB / 453.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.4952, allocations: 33.45 kB / 453.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/0.4953, allocations: 39.56 kB / 453.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.4959, allocations: 440 kB / 453.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.4959, allocations: 4 kB / 453.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.496, allocations: 15.19 kB / 453.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.496, allocations: 12 kB / 453.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.4964, allocations: 259.7 kB / 454.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.4982, allocations: 1.331 MB / 455.4 MB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.4986, allocations: 227.7 kB / 455.6 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.4989, allocations: 183.9 kB / 455.8 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.4989, allocations: 7.984 kB / 455.8 MB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.499, allocations: 42.12 kB / 455.9 MB, free: 8.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.035e-06/0.499, allocations: 0 / 455.9 MB, free: 8.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005823/0.4995, allocations: 280.4 kB / 456.1 MB, free: 8.551 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.4997, allocations: 235.3 kB / 456.4 MB, free: 8.266 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.4999, allocations: 194.3 kB / 456.5 MB, free: 8.074 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.4999, allocations: 33.7 kB / 456.6 MB, free: 8.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.5001, allocations: 195.9 kB / 456.8 MB, free: 7.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.5002, allocations: 98.56 kB / 456.9 MB, free: 7.742 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.5002, allocations: 8 kB / 456.9 MB, free: 7.734 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5003, allocations: 334.8 kB / 457.2 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.5004, allocations: 64 kB / 457.3 MB, free: 7.336 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.5006, allocations: 148.7 kB / 457.4 MB, free: 7.156 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.5008, allocations: 88.8 kB / 457.5 MB, free: 7.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5008, allocations: 0 / 457.5 MB, free: 7.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003865/0.5012, allocations: 261.2 kB / 457.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5012, allocations: 7.953 kB / 457.8 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5012, allocations: 0 / 457.8 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.5012, allocations: 4 kB / 457.8 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.5016, allocations: 87.95 kB / 457.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5016, allocations: 0 / 457.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.5018, allocations: 39.61 kB / 457.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.5018, allocations: 8 kB / 457.9 MB, free: 6.664 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.0001415/0.502, allocations: 125.7 kB / 458 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.502, allocations: 23.72 kB / 458 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.546e-05/0.5021, allocations: 42.72 kB / 458.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5021, allocations: 4 kB / 458.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5021, allocations: 3.938 kB / 458.1 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.5022, allocations: 0 / 458.1 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.5032, allocations: 0.7682 MB / 458.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5032, allocations: 7.984 kB / 458.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.5034, allocations: 51.97 kB / 458.9 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/0.5038, allocations: 94.64 kB / 459 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.5038, allocations: 4 kB / 459 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.5057, allocations: 1.816 MB / 460.8 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5057, allocations: 7.938 kB / 460.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006965/0.5064, allocations: 0.4915 MB / 461.3 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.5065, allocations: 104.8 kB / 461.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.5065, allocations: 8 kB / 461.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.5067, allocations: 15.97 kB / 461.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.5068, allocations: 27.86 kB / 461.5 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.5068, allocations: 12 kB / 461.5 MB, free: 2.816 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001331/0.5069, allocations: 148.4 kB / 461.6 MB, free: 2.672 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5069, allocations: 0 / 461.6 MB, free: 2.672 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.5073, allocations: 115.7 kB / 461.7 MB, free: 2.559 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.0001632/0.5075, allocations: 99.58 kB / 461.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.5078, allocations: 199.9 kB / 462 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5079, allocations: 0 / 462 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003994/0.5083, allocations: 262.3 kB / 462.3 MB, free: 1.988 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.5085, allocations: 28.19 kB / 462.3 MB, free: 1.961 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.5095, allocations: 0.6802 MB / 463 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.5098, allocations: 0.7986 MB / 463.8 MB, free: 440 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.049e-05/0.5099, allocations: 30.06 kB / 463.8 MB, free: 412 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.51, allocations: 27.31 kB / 463.9 MB, free: 384 kB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.51, allocations: 0 / 463.9 MB, free: 384 kB / 330.7 MB Notification: Performance of Templates: time 0.005884/0.5159, allocations: 2.6 MB / 466.5 MB, free: 13.78 MB / 346.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