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.001299/0.001299, allocations: 111.6 kB / 17.29 MB, free: 6.188 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.001365/0.001365, allocations: 193.3 kB / 18.21 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 241.9 MB, free: 13.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 46.55 kB / 300.8 MB, free: 5.961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1228, allocations: 49.45 MB / 350.2 MB, free: 4.504 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.005552/0.1284, allocations: 2.859 MB / 353.1 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.1303, allocations: 0.7166 MB / 353.8 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003523/0.1307, allocations: 8 kB / 353.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.131, allocations: 39.67 kB / 353.9 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005443/0.1316, allocations: 79.31 kB / 353.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.1321, allocations: 107.8 kB / 354 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007705/0.1329, allocations: 450.8 kB / 354.5 MB, free: 236 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005245/0.1335, allocations: 212.9 kB / 354.7 MB, free: 16 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004332/0.1339, allocations: 187.5 kB / 354.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.1344, allocations: 199.2 kB / 355.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.1345, allocations: 48 kB / 355.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1346, allocations: 44 kB / 355.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.1348, allocations: 107.7 kB / 355.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.1351, allocations: 211.1 kB / 355.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.1356, allocations: 395.1 kB / 355.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1356, allocations: 0 / 355.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1357, allocations: 0 / 355.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.161e-05/0.1357, allocations: 0 / 355.9 MB, free: 14.85 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.001562/0.1373, allocations: 0.6864 MB / 356.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.1373, allocations: 11.89 kB / 356.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.1375, allocations: 44.47 kB / 356.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.1379, allocations: 280.4 kB / 356.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.1379, allocations: 29.38 kB / 356.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.138, allocations: 44.38 kB / 356.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.1391, allocations: 459.5 kB / 357.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.1391, allocations: 3.906 kB / 357.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/0.1392, allocations: 20 kB / 357.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1392, allocations: 8 kB / 357.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007442/0.1399, allocations: 283.9 kB / 357.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.1427, allocations: 1.314 MB / 359 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006095/0.1433, allocations: 234.7 kB / 359.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.1438, allocations: 192.8 kB / 359.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.1439, allocations: 7.938 kB / 359.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.1439, allocations: 42.55 kB / 359.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 3.176e-06/0.144, allocations: 0 / 359.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001937/0.1459, allocations: 0.5385 MB / 360 MB, free: 10.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.1461, allocations: 243.3 kB / 360.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.1464, allocations: 203 kB / 360.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.1464, allocations: 37.7 kB / 360.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.1466, allocations: 196.2 kB / 360.7 MB, free: 9.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.1467, allocations: 106.5 kB / 360.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.1469, allocations: 61.69 kB / 360.9 MB, free: 9.508 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.147, allocations: 334.8 kB / 361.2 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.1473, allocations: 71.97 kB / 361.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.1476, allocations: 164.8 kB / 361.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.148, allocations: 195.4 kB / 361.6 MB, free: 8.711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1481, allocations: 8 kB / 361.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006578/0.1487, allocations: 280.9 kB / 361.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.1488, allocations: 8 kB / 361.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1488, allocations: 0 / 361.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1488, allocations: 0 / 361.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004938/0.1493, allocations: 79.89 kB / 362 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.1493, allocations: 0 / 362 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.1496, allocations: 35.67 kB / 362 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.1497, allocations: 16.06 kB / 362 MB, free: 8.285 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.0002137/0.1499, allocations: 149.8 kB / 362.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.15, allocations: 27.66 kB / 362.2 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.206e-05/0.1501, allocations: 30.64 kB / 362.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.1501, allocations: 4 kB / 362.2 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.1501, allocations: 0 / 362.2 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.1501, allocations: 4 kB / 362.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.1517, allocations: 0.7788 MB / 363 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1517, allocations: 0 / 363 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.152, allocations: 51.91 kB / 363.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000416/0.1525, allocations: 88.8 kB / 363.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.1525, allocations: 8 kB / 363.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/0.1552, allocations: 1.986 MB / 365.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1553, allocations: 0 / 365.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.1563, allocations: 0.5026 MB / 365.6 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.803e-05/0.1564, allocations: 112.9 kB / 365.8 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.1565, allocations: 4 kB / 365.8 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.1568, allocations: 12.12 kB / 365.8 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.1569, allocations: 19.97 kB / 365.8 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.1569, allocations: 15.98 kB / 365.8 MB, free: 4.242 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.1571, allocations: 148.5 kB / 365.9 MB, free: 4.098 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1571, allocations: 0 / 365.9 MB, free: 4.098 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006325/0.1577, allocations: 107.7 kB / 366.1 MB, free: 3.992 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.0001641/0.1579, allocations: 111.1 kB / 366.2 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006271/0.1585, allocations: 216 kB / 366.4 MB, free: 3.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1586, allocations: 0 / 366.4 MB, free: 3.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005643/0.1591, allocations: 274.5 kB / 366.6 MB, free: 3.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.1598, allocations: 44.11 kB / 366.7 MB, free: 3.336 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.1618, allocations: 1.019 MB / 367.7 MB, free: 2.281 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.1623, allocations: 0.7868 MB / 368.5 MB, free: 1.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.343e-05/0.1624, allocations: 27.42 kB / 368.5 MB, free: 1.445 MB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1624, allocations: 0 / 368.5 MB, free: 1.445 MB / 302.1 MB Notification: Performance of Templates: time 0.2058/0.3682, allocations: 4.028 MB / 372.5 MB, free: 24.55 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