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.001927/0.001927, allocations: 180 kB / 17.01 MB, free: 5.125 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.481/1.481, allocations: 205.4 MB / 223.1 MB, free: 9.105 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.0009925/0.0009925, allocations: 96.09 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002765/0.0002766, allocations: 12 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2638, allocations: 47.56 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09474/0.3586, allocations: 76.96 MB / 452.8 MB, free: 3.715 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.3588, allocations: 71.95 kB / 452.8 MB, free: 3.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01466/0.3735, allocations: 5.399 MB / 458.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3736, allocations: 0 / 458.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.3736, allocations: 8 kB / 458.2 MB, free: 14.23 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.001088/0.3747, allocations: 0.6045 MB / 458.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3747, allocations: 8.031 kB / 458.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.3749, allocations: 47.44 kB / 458.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.3753, allocations: 287 kB / 459.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.3754, allocations: 37 kB / 459.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/0.3755, allocations: 40 kB / 459.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/0.3763, allocations: 443.2 kB / 459.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3763, allocations: 4 kB / 459.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.3764, allocations: 20 kB / 459.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.3764, allocations: 15.94 kB / 459.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/0.3769, allocations: 279.9 kB / 460 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.3791, allocations: 1.322 MB / 461.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.3795, allocations: 253.2 kB / 461.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.3796, allocations: 4 kB / 461.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.3796, allocations: 38.56 kB / 461.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.853e-06/0.3796, allocations: 0 / 461.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.001461/0.3811, allocations: 0.5631 MB / 462.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002032/0.3813, allocations: 239.3 kB / 462.4 MB, free: 9.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.3815, allocations: 189.9 kB / 462.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.3816, allocations: 29.7 kB / 462.6 MB, free: 9.523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3817, allocations: 199.9 kB / 462.8 MB, free: 9.324 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.11e-05/0.3818, allocations: 98.55 kB / 462.9 MB, free: 9.227 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.3819, allocations: 8 kB / 462.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.382, allocations: 334.8 kB / 463.2 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.3822, allocations: 79.97 kB / 463.3 MB, free: 8.805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.3824, allocations: 154.5 kB / 463.5 MB, free: 8.629 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.3826, allocations: 107.9 kB / 463.6 MB, free: 8.523 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3826, allocations: 0 / 463.6 MB, free: 8.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004807/0.3831, allocations: 280.8 kB / 463.9 MB, free: 8.242 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3832, allocations: 8 kB / 463.9 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3832, allocations: 3.938 kB / 463.9 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.3832, allocations: 3.953 kB / 463.9 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.3835, allocations: 87.92 kB / 464 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3836, allocations: 7.938 kB / 464 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.3838, allocations: 35.66 kB / 464 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.3838, allocations: 12 kB / 464 MB, free: 8.086 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.0002807/0.3841, allocations: 153.8 kB / 464.2 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.3842, allocations: 23.81 kB / 464.2 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.296e-05/0.3842, allocations: 34.64 kB / 464.2 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3843, allocations: 7.953 kB / 464.2 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.3843, allocations: 0 / 464.2 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3843, allocations: 0 / 464.2 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.3847, allocations: 401.2 kB / 464.6 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3848, allocations: 0 / 464.6 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.385, allocations: 47.97 kB / 464.7 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003323/0.3854, allocations: 84.8 kB / 464.7 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.3854, allocations: 12 kB / 464.8 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.3873, allocations: 1.867 MB / 466.6 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3873, allocations: 4.094 kB / 466.6 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007713/0.3881, allocations: 0.5124 MB / 467.1 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/0.3882, allocations: 108.8 kB / 467.2 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.3883, allocations: 8.016 kB / 467.3 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.3884, allocations: 12 kB / 467.3 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.3885, allocations: 31.89 kB / 467.3 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.3885, allocations: 4 kB / 467.3 MB, free: 4.559 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.3886, allocations: 152.4 kB / 467.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3886, allocations: 3.938 kB / 467.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003934/0.389, allocations: 111.6 kB / 467.6 MB, free: 4.297 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.0001508/0.3892, allocations: 111.2 kB / 467.7 MB, free: 4.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000415/0.3896, allocations: 216.2 kB / 467.9 MB, free: 3.969 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3896, allocations: 0 / 467.9 MB, free: 3.969 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004082/0.3901, allocations: 282.5 kB / 468.2 MB, free: 3.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.3903, allocations: 16 kB / 468.2 MB, free: 3.664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.3916, allocations: 1.054 MB / 469.2 MB, free: 2.586 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3919, allocations: 0.795 MB / 470 MB, free: 1.762 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.392, allocations: 25.94 kB / 470 MB, free: 1.734 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.3921, allocations: 19.44 kB / 470.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3921, allocations: 0 / 470.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of Templates: time 0.005708/0.3978, allocations: 2.63 MB / 472.7 MB, free: 15.09 MB / 362.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