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.001425/0.001425, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 91.11 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.115e-05, allocations: 7.984 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3552, allocations: 47.55 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.4804, allocations: 76.22 MB / 438.5 MB, free: 10.09 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.4807, allocations: 70.78 kB / 438.6 MB, free: 10.02 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02355/0.5042, allocations: 5.355 MB / 444 MB, free: 4.707 MB / 331.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5043, allocations: 0 / 444 MB, free: 4.707 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.9e-05/0.5044, allocations: 8 kB / 444 MB, free: 4.699 MB / 331.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.001354/0.5057, allocations: 0.5913 MB / 444.6 MB, free: 4.066 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.5058, allocations: 8.031 kB / 444.6 MB, free: 4.059 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.5059, allocations: 43.53 kB / 444.6 MB, free: 4.016 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.5064, allocations: 271.1 kB / 444.9 MB, free: 3.707 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.5065, allocations: 14.25 kB / 444.9 MB, free: 3.695 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.968e-05/0.5066, allocations: 31.94 kB / 444.9 MB, free: 3.664 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007631/0.5073, allocations: 238.6 kB / 445.2 MB, free: 3.43 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009214/0.5083, allocations: 381.4 kB / 445.5 MB, free: 3.027 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.5083, allocations: 0.75 kB / 445.5 MB, free: 3.027 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.5084, allocations: 0 / 445.5 MB, free: 3.027 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.5084, allocations: 8 kB / 445.5 MB, free: 3.02 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/0.5113, allocations: 1.232 MB / 446.8 MB, free: 1.711 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.5119, allocations: 217.9 kB / 447 MB, free: 1.488 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.5124, allocations: 176.8 kB / 447.2 MB, free: 1.312 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.5125, allocations: 1.969 kB / 447.2 MB, free: 1.312 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.5125, allocations: 38.56 kB / 447.2 MB, free: 1.266 MB / 331.1 MB Notification: Performance of pre-optimization done (n=29): time 3.045e-06/0.5125, allocations: 4 kB / 447.2 MB, free: 1.262 MB / 331.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008748/0.5134, allocations: 257.3 kB / 447.5 MB, free: 1.004 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.5136, allocations: 247.3 kB / 447.7 MB, free: 0.707 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.5138, allocations: 145.8 kB / 447.8 MB, free: 0.5547 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.5138, allocations: 29.7 kB / 447.9 MB, free: 0.5195 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.514, allocations: 262.6 kB / 448.1 MB, free: 268 kB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.5141, allocations: 98.55 kB / 448.2 MB, free: 168 kB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.5142, allocations: 0 / 448.2 MB, free: 168 kB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5143, allocations: 326.8 kB / 448.5 MB, free: 15.84 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.5145, allocations: 56 kB / 448.6 MB, free: 15.78 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.5148, allocations: 139.2 kB / 448.7 MB, free: 15.61 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.5151, allocations: 84.97 kB / 448.8 MB, free: 15.53 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5151, allocations: 0 / 448.8 MB, free: 15.53 MB / 347.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006019/0.5157, allocations: 225.1 kB / 449 MB, free: 15.3 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.5157, allocations: 8 kB / 449 MB, free: 15.3 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5157, allocations: 1.797 kB / 449 MB, free: 15.3 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.5158, allocations: 7.953 kB / 449 MB, free: 15.29 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.5164, allocations: 79.89 kB / 449.1 MB, free: 15.21 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.5165, allocations: 5.125 kB / 449.1 MB, free: 15.21 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.5168, allocations: 27.83 kB / 449.2 MB, free: 15.18 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.5168, allocations: 8 kB / 449.2 MB, free: 15.17 MB / 347.1 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.0001951/0.517, allocations: 108.9 kB / 449.3 MB, free: 15.06 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/0.5171, allocations: 23.72 kB / 449.3 MB, free: 15.04 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.646e-05/0.5172, allocations: 35.38 kB / 449.3 MB, free: 15 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.5172, allocations: 7.953 kB / 449.3 MB, free: 14.99 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.5172, allocations: 2.062 kB / 449.3 MB, free: 14.99 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5173, allocations: 5.031 kB / 449.3 MB, free: 14.99 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.5188, allocations: 0.6829 MB / 450 MB, free: 14.26 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.5188, allocations: 0 / 450 MB, free: 14.26 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.5193, allocations: 55.86 kB / 450.1 MB, free: 14.2 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005293/0.5199, allocations: 88.75 kB / 450.2 MB, free: 14.11 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.5199, allocations: 4.031 kB / 450.2 MB, free: 14.11 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/0.5226, allocations: 1.75 MB / 451.9 MB, free: 12.25 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5227, allocations: 0 / 451.9 MB, free: 12.25 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.5238, allocations: 475.2 kB / 452.4 MB, free: 11.76 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.524, allocations: 100.9 kB / 452.5 MB, free: 11.64 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.524, allocations: 4.062 kB / 452.5 MB, free: 11.64 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.5243, allocations: 13.77 kB / 452.5 MB, free: 11.62 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/0.5244, allocations: 19.97 kB / 452.5 MB, free: 11.61 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.5245, allocations: 8 kB / 452.5 MB, free: 11.6 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.5246, allocations: 124.3 kB / 452.6 MB, free: 11.48 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5246, allocations: 0 / 452.6 MB, free: 11.48 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0006112/0.5253, allocations: 103.6 kB / 452.8 MB, free: 11.38 MB / 347.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 () * 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.0001982/0.5255, allocations: 107.1 kB / 452.9 MB, free: 11.26 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0005044/0.526, allocations: 183.9 kB / 453 MB, free: 11.08 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.526, allocations: 0 / 453 MB, free: 11.08 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005615/0.5266, allocations: 242.1 kB / 453.3 MB, free: 10.84 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.5269, allocations: 12.14 kB / 453.3 MB, free: 10.82 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.5287, allocations: 0.7031 MB / 454 MB, free: 10.1 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.5292, allocations: 0.8047 MB / 454.8 MB, free: 9.27 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.5293, allocations: 19.44 kB / 454.8 MB, free: 9.25 MB / 347.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5293, allocations: 0 / 454.8 MB, free: 9.25 MB / 347.1 MB Notification: Performance of Templates: time 0.009325/0.5387, allocations: 3.727 MB / 458.5 MB, free: 5.543 MB / 347.1 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