Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 96.81 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.389e-05/1.39e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 50.42 MB / 387.4 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3094/0.4115, allocations: 77.58 MB / 465 MB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001662/0.4117, allocations: 67.97 kB / 465.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01516/0.4269, allocations: 5.793 MB / 470.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.427, allocations: 0 / 470.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.427, allocations: 12 kB / 470.9 MB, free: 11.39 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.0009161/0.4279, allocations: 0.5891 MB / 471.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.428, allocations: 8.031 kB / 471.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.55e-05/0.4281, allocations: 43.53 kB / 471.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.4284, allocations: 275.1 kB / 471.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.4285, allocations: 16 kB / 471.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/0.4286, allocations: 31.98 kB / 471.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004531/0.429, allocations: 242.6 kB / 472.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.4296, allocations: 369.4 kB / 472.5 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.4296, allocations: 4 kB / 472.5 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.4297, allocations: 0 / 472.5 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.4297, allocations: 12 kB / 472.5 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.4316, allocations: 1.244 MB / 473.7 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.4319, allocations: 218.9 kB / 473.9 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.4322, allocations: 181.3 kB / 474.1 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.4323, allocations: 4 kB / 474.1 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.4323, allocations: 39.06 kB / 474.1 MB, free: 7.926 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.4323, allocations: 0 / 474.1 MB, free: 7.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005831/0.4329, allocations: 254.7 kB / 474.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.433, allocations: 239.3 kB / 474.6 MB, free: 7.379 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.4332, allocations: 161.8 kB / 474.8 MB, free: 7.211 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.4332, allocations: 29.7 kB / 474.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.4334, allocations: 200.1 kB / 475 MB, free: 6.977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.4334, allocations: 94.56 kB / 475.1 MB, free: 6.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.4334, allocations: 3.938 kB / 475.1 MB, free: 6.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.4336, allocations: 338.8 kB / 475.4 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.4337, allocations: 60 kB / 475.5 MB, free: 6.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.4338, allocations: 140.8 kB / 475.6 MB, free: 6.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.434, allocations: 88.38 kB / 475.7 MB, free: 6.227 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.434, allocations: 0 / 475.7 MB, free: 6.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003259/0.4343, allocations: 229.2 kB / 475.9 MB, free: 5.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4343, allocations: 13.31 kB / 476 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4344, allocations: 0 / 476 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4344, allocations: 0 / 476 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.4347, allocations: 83.89 kB / 476 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4347, allocations: 7.938 kB / 476 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.4349, allocations: 23.73 kB / 476.1 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.4349, allocations: 8 kB / 476.1 MB, free: 5.863 MB / 346.7 MB 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 8.704e-05/0.435, allocations: 116.8 kB / 476.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.4351, allocations: 19.81 kB / 476.2 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.902e-05/0.4351, allocations: 31.39 kB / 476.2 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4351, allocations: 4 kB / 476.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4351, allocations: 0 / 476.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4352, allocations: 0 / 476.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008613/0.436, allocations: 0.6828 MB / 476.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.436, allocations: 0 / 476.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.4363, allocations: 59.94 kB / 477 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002747/0.4366, allocations: 80.81 kB / 477.1 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.4366, allocations: 4 kB / 477.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.4382, allocations: 1.748 MB / 478.8 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4382, allocations: 7.938 kB / 478.8 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.4388, allocations: 471.9 kB / 479.3 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.4389, allocations: 104.8 kB / 479.4 MB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.439, allocations: 7.953 kB / 479.4 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.4391, allocations: 7.984 kB / 479.4 MB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.4392, allocations: 23.97 kB / 479.4 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.4392, allocations: 8.109 kB / 479.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.336e-05/0.4393, allocations: 128.3 kB / 479.6 MB, free: 2.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4393, allocations: 0 / 479.6 MB, free: 2.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.4397, allocations: 99.61 kB / 479.7 MB, free: 2.062 MB / 346.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.0001443/0.4398, allocations: 103.5 kB / 479.8 MB, free: 1.949 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000287/0.4401, allocations: 187.7 kB / 479.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4401, allocations: 0 / 479.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.4404, allocations: 253.6 kB / 480.2 MB, free: 1.508 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.4407, allocations: 23.92 kB / 480.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009592/0.4417, allocations: 0.6663 MB / 480.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.442, allocations: 0.799 MB / 481.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.71e-05/0.4421, allocations: 22.06 kB / 481.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.4422, allocations: 19.44 kB / 481.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4422, allocations: 0 / 481.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of Templates: time 0.005357/0.4475, allocations: 2.577 MB / 484.3 MB, free: 13.36 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches