Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008403/0.0008401, allocations: 89.75 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 202.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 227.7 MB / 246.8 MB, free: 9.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003709, allocations: 8 kB / 307.7 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1274, allocations: 51.52 MB / 359.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003974/0.1314, allocations: 2.498 MB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1333, allocations: 0.7519 MB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.1336, allocations: 4 kB / 362.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.1338, allocations: 43.67 kB / 362.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.1341, allocations: 79.31 kB / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.1345, allocations: 115.8 kB / 362.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.135, allocations: 418.8 kB / 363.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.1353, allocations: 190 kB / 363.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.1356, allocations: 155.4 kB / 363.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.1359, allocations: 175.2 kB / 363.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.136, allocations: 24 kB / 363.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1361, allocations: 36 kB / 363.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.1362, allocations: 67.7 kB / 363.8 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.1363, allocations: 212.7 kB / 364 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004209/0.1368, allocations: 486.4 kB / 364.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1368, allocations: 0 / 364.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1368, allocations: 0 / 364.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.1368, allocations: 0 / 364.4 MB, free: 7.828 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.0009181/0.1377, allocations: 0.6202 MB / 365.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1378, allocations: 8.031 kB / 365.1 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.138, allocations: 60.45 kB / 365.1 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1383, allocations: 280.4 kB / 365.4 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.1383, allocations: 33.38 kB / 365.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.1384, allocations: 40.38 kB / 365.5 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006941/0.1391, allocations: 459.6 kB / 365.9 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.1391, allocations: 7.891 kB / 365.9 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.1392, allocations: 16 kB / 366 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1392, allocations: 12 kB / 366 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.1397, allocations: 287.9 kB / 366.2 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.1416, allocations: 1.314 MB / 367.6 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.1421, allocations: 234.7 kB / 367.8 MB, free: 4.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.1424, allocations: 205.8 kB / 368 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1424, allocations: 7.984 kB / 368 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1425, allocations: 34.56 kB / 368 MB, free: 4.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.084e-06/0.1425, allocations: 3.938 kB / 368 MB, free: 4.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.0013/0.1438, allocations: 0.5579 MB / 368.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.1439, allocations: 235.3 kB / 368.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.1441, allocations: 206.8 kB / 369 MB, free: 2.926 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1441, allocations: 33.7 kB / 369.1 MB, free: 2.887 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.1443, allocations: 200.2 kB / 369.3 MB, free: 2.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.1443, allocations: 102.5 kB / 369.4 MB, free: 2.586 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.1444, allocations: 37.69 kB / 369.4 MB, free: 2.543 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1446, allocations: 334.8 kB / 369.7 MB, free: 2.207 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.1448, allocations: 79.95 kB / 369.8 MB, free: 2.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.1451, allocations: 152.3 kB / 369.9 MB, free: 1.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.1454, allocations: 211.1 kB / 370.2 MB, free: 1.734 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1454, allocations: 0 / 370.2 MB, free: 1.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004489/0.1459, allocations: 281.1 kB / 370.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1459, allocations: 12.06 kB / 370.4 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1459, allocations: 0 / 370.4 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1459, allocations: 4 kB / 370.4 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.1462, allocations: 79.89 kB / 370.5 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1463, allocations: 4.078 kB / 370.5 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.1464, allocations: 31.69 kB / 370.6 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.1465, allocations: 15.97 kB / 370.6 MB, free: 1.309 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.0001466/0.1466, allocations: 161.7 kB / 370.7 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.1467, allocations: 27.66 kB / 370.8 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/0.1467, allocations: 26.66 kB / 370.8 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1467, allocations: 4 kB / 370.8 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1468, allocations: 0 / 370.8 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1468, allocations: 3.984 kB / 370.8 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1478, allocations: 0.773 MB / 371.6 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.1478, allocations: 4 kB / 371.6 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.148, allocations: 55.89 kB / 371.6 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003286/0.1484, allocations: 88.69 kB / 371.7 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.1484, allocations: 8 kB / 371.7 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1781/0.3266, allocations: 1.829 MB / 373.5 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3266, allocations: 0.9844 kB / 373.5 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008051/0.3274, allocations: 0.5053 MB / 374.1 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.3275, allocations: 103.5 kB / 374.2 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.3275, allocations: 10.16 kB / 374.2 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.3277, allocations: 10.77 kB / 374.2 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.3278, allocations: 38.3 kB / 374.2 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3278, allocations: 6.547 kB / 374.2 MB, free: 17.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.3279, allocations: 152.1 kB / 374.4 MB, free: 17.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3279, allocations: 0 / 374.4 MB, free: 17.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003828/0.3283, allocations: 102.9 kB / 374.5 MB, free: 17.36 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.0001272/0.3284, allocations: 101.6 kB / 374.6 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.3289, allocations: 216.9 kB / 374.8 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3289, allocations: 0.5469 kB / 374.8 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003994/0.3293, allocations: 273.8 kB / 375 MB, free: 17.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.3297, allocations: 37.52 kB / 375.1 MB, free: 17.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.3309, allocations: 1.097 MB / 376.2 MB, free: 16.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.3311, allocations: 0.7898 MB / 377 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.3312, allocations: 25.22 kB / 377 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.3313, allocations: 21.38 kB / 377 MB, free: 15.78 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3313, allocations: 0 / 377 MB, free: 15.78 MB / 302.1 MB Notification: Performance of Templates: time 0.006195/0.3375, allocations: 2.88 MB / 379.9 MB, free: 15.59 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches