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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 110.1 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002248/0.002248, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.595/2.595, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 46.64 kB / 300.6 MB, free: 6.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1436, allocations: 49.45 MB / 350.1 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.006985/0.1506, allocations: 2.867 MB / 352.9 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.1529, allocations: 0.705 MB / 353.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000365/0.1533, allocations: 8 kB / 353.6 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.1537, allocations: 47.67 kB / 353.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005282/0.1543, allocations: 79.31 kB / 353.8 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006276/0.1549, allocations: 107.8 kB / 353.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007938/0.1557, allocations: 426.8 kB / 354.3 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005547/0.1563, allocations: 190 kB / 354.5 MB, free: 424 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003685/0.1567, allocations: 167.4 kB / 354.6 MB, free: 256 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.1572, allocations: 195.1 kB / 354.8 MB, free: 60 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.1573, allocations: 36 kB / 354.9 MB, free: 24 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.1575, allocations: 32.05 kB / 354.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.1576, allocations: 91.62 kB / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.158, allocations: 199.1 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006413/0.1587, allocations: 391.2 kB / 355.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1587, allocations: 3.938 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1587, allocations: 0 / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.1588, allocations: 7.938 kB / 355.6 MB, free: 15.31 MB / 302.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.001911/0.1607, allocations: 0.6865 MB / 356.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.1608, allocations: 12.03 kB / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.1609, allocations: 40.47 kB / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.1614, allocations: 276.4 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.1615, allocations: 33.38 kB / 356.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.1616, allocations: 44.38 kB / 356.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.163, allocations: 455.6 kB / 357.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.1631, allocations: 3.906 kB / 357.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.1632, allocations: 20 kB / 357.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.1632, allocations: 8 kB / 357.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009318/0.1641, allocations: 287.8 kB / 357.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.1676, allocations: 1.31 MB / 358.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007496/0.1684, allocations: 241.9 kB / 358.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006294/0.169, allocations: 192.8 kB / 359.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.1691, allocations: 4 kB / 359.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.1691, allocations: 42.5 kB / 359.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 4.137e-06/0.1692, allocations: 0 / 359.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002569/0.1717, allocations: 0.5462 MB / 359.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/0.1719, allocations: 235.3 kB / 360 MB, free: 10.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.1724, allocations: 210.9 kB / 360.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.1724, allocations: 29.7 kB / 360.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.1727, allocations: 204.2 kB / 360.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.1728, allocations: 102.5 kB / 360.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.1731, allocations: 61.7 kB / 360.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1733, allocations: 338.8 kB / 360.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.1736, allocations: 75.95 kB / 361 MB, free: 9.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.174, allocations: 156.8 kB / 361.1 MB, free: 9.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006431/0.1747, allocations: 207.3 kB / 361.3 MB, free: 9.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1747, allocations: 0 / 361.3 MB, free: 9.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008811/0.1756, allocations: 276.9 kB / 361.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.1757, allocations: 4 kB / 361.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1757, allocations: 0 / 361.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.1757, allocations: 4 kB / 361.6 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006804/0.1764, allocations: 87.95 kB / 361.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.1765, allocations: 0 / 361.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.1768, allocations: 31.69 kB / 361.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.1769, allocations: 8 kB / 361.7 MB, free: 8.762 MB / 302.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002695/0.1771, allocations: 153.8 kB / 361.9 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.1773, allocations: 31.59 kB / 361.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.1774, allocations: 30.66 kB / 361.9 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.1774, allocations: 4 kB / 361.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.1775, allocations: 4 kB / 361.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.1775, allocations: 3.984 kB / 361.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.1795, allocations: 0.7633 MB / 362.7 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.1795, allocations: 4 kB / 362.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/0.18, allocations: 51.91 kB / 362.8 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005542/0.1806, allocations: 96.77 kB / 362.9 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.1806, allocations: 8 kB / 362.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003302/0.1839, allocations: 1.839 MB / 364.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.184, allocations: 0 / 364.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.1854, allocations: 0.5034 MB / 365.2 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.1856, allocations: 108.9 kB / 365.3 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.197e-05/0.1857, allocations: 11.98 kB / 365.3 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.186, allocations: 8 kB / 365.3 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.1862, allocations: 23.97 kB / 365.4 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.1862, allocations: 4 kB / 365.4 MB, free: 4.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002819/0.1865, allocations: 156.6 kB / 365.5 MB, free: 4.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1865, allocations: 0 / 365.5 MB, free: 4.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007671/0.1873, allocations: 99.69 kB / 365.6 MB, free: 4.617 MB / 302.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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000205/0.1875, allocations: 111.1 kB / 365.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007767/0.1883, allocations: 216 kB / 365.9 MB, free: 4.289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.1883, allocations: 0 / 365.9 MB, free: 4.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007511/0.1891, allocations: 270.5 kB / 366.2 MB, free: 4.012 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006846/0.1898, allocations: 43.72 kB / 366.2 MB, free: 3.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.1925, allocations: 1.025 MB / 367.3 MB, free: 2.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.193, allocations: 0.7872 MB / 368 MB, free: 2.102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.1932, allocations: 27.44 kB / 368.1 MB, free: 2.078 MB / 302.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1932, allocations: 0 / 368.1 MB, free: 2.078 MB / 302.1 MB Notification: Performance of Templates: time 0.2845/0.4777, allocations: 4.018 MB / 372.1 MB, free: 24.42 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches