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.001196/0.001202, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.372/1.372, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007062/0.0007064, allocations: 109.3 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 12 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2565, allocations: 47.57 MB / 375.7 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.3941, allocations: 77 MB / 452.7 MB, free: 3.633 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.3945, allocations: 71.95 kB / 452.8 MB, free: 3.562 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01977/0.4143, allocations: 5.399 MB / 458.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4143, allocations: 0 / 458.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.35e-05/0.4144, allocations: 8 kB / 458.2 MB, free: 14.15 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.001186/0.4156, allocations: 0.6085 MB / 458.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4156, allocations: 8.031 kB / 458.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.4157, allocations: 48.38 kB / 458.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.4162, allocations: 272.4 kB / 459.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.4163, allocations: 37.38 kB / 459.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.597e-05/0.4164, allocations: 40.38 kB / 459.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009979/0.4174, allocations: 447.8 kB / 459.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.4174, allocations: 4.188 kB / 459.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.4175, allocations: 27.88 kB / 459.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.4175, allocations: 8 kB / 459.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007892/0.4183, allocations: 283.8 kB / 460 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.421, allocations: 1.334 MB / 461.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.4216, allocations: 242.7 kB / 461.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/0.4222, allocations: 198.3 kB / 461.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.4222, allocations: 4 kB / 461.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.4223, allocations: 42.5 kB / 461.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.534e-06/0.4223, allocations: 0 / 461.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.002061/0.4244, allocations: 0.5475 MB / 462.3 MB, free: 9.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/0.4245, allocations: 239.3 kB / 462.5 MB, free: 9.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.4248, allocations: 206.8 kB / 462.7 MB, free: 9.273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.4249, allocations: 37.64 kB / 462.8 MB, free: 9.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.4251, allocations: 199.9 kB / 463 MB, free: 9.031 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.4252, allocations: 106.4 kB / 463.1 MB, free: 8.926 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.4252, allocations: 4 kB / 463.1 MB, free: 8.922 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.4254, allocations: 342.8 kB / 463.4 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.4257, allocations: 71.97 kB / 463.5 MB, free: 8.508 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.426, allocations: 159.4 kB / 463.6 MB, free: 8.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.4273, allocations: 377.4 kB / 464 MB, free: 7.945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.4274, allocations: 3.938 kB / 464 MB, free: 7.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007661/0.4281, allocations: 277 kB / 464.3 MB, free: 7.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4282, allocations: 11.92 kB / 464.3 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4282, allocations: 0 / 464.3 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.4282, allocations: 8 kB / 464.3 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.4287, allocations: 75.89 kB / 464.4 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.4288, allocations: 8.062 kB / 464.4 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.429, allocations: 27.69 kB / 464.4 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.4291, allocations: 12 kB / 464.4 MB, free: 7.523 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: L2.iinternal:VARIABLE(unit = "A" fixed = true ) type: Real L3.iinternal:VARIABLE(unit = "A" fixed = true ) 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 () * 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.000454/0.4295, allocations: 160.7 kB / 464.6 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.312e-05/0.4296, allocations: 27.66 kB / 464.6 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.4298, allocations: 26.66 kB / 464.6 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.4298, allocations: 8 kB / 464.6 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/0.4298, allocations: 3.984 kB / 464.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.4298, allocations: 0 / 464.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.4322, allocations: 0.7867 MB / 465.4 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.4323, allocations: 0 / 465.4 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.4327, allocations: 55.91 kB / 465.5 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004803/0.4332, allocations: 88.83 kB / 465.6 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.4333, allocations: 8 kB / 465.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002533/0.4358, allocations: 1.833 MB / 467.4 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4358, allocations: 0 / 467.4 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.437, allocations: 0.5171 MB / 467.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.582e-05/0.4371, allocations: 104.8 kB / 468 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.4372, allocations: 8.062 kB / 468.1 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.4374, allocations: 12 kB / 468.1 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.4375, allocations: 23.95 kB / 468.1 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.4376, allocations: 20.12 kB / 468.1 MB, free: 3.609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001808/0.4377, allocations: 148.4 kB / 468.2 MB, free: 3.465 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4378, allocations: 0 / 468.2 MB, free: 3.465 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006445/0.4384, allocations: 115.6 kB / 468.4 MB, free: 3.352 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 () * 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.0001976/0.4386, allocations: 107.2 kB / 468.5 MB, free: 3.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005815/0.4392, allocations: 211.8 kB / 468.7 MB, free: 3.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4392, allocations: 0 / 468.7 MB, free: 3.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005722/0.4398, allocations: 270.5 kB / 468.9 MB, free: 2.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.4403, allocations: 27.88 kB / 469 MB, free: 2.723 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.4423, allocations: 1.087 MB / 470.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.4427, allocations: 0.7831 MB / 470.8 MB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.433e-05/0.4428, allocations: 27.42 kB / 470.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4428, allocations: 3.938 kB / 470.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of Templates: time 0.8561/1.299, allocations: 3.911 MB / 474.8 MB, free: 12.84 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