Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.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.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008174/0.0008175, allocations: 99.02 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00088/0.00088, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.7 MB / 246.4 MB, free: 11.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002794, allocations: 8 kB / 307.1 MB, free: 1.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1402, allocations: 51.52 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001898/0.1422, allocations: 1.218 MB / 359.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.1441, allocations: 0.8388 MB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.1442, allocations: 0 / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.644e-05/0.1443, allocations: 7.922 kB / 360.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.1444, allocations: 11.94 kB / 360.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1447, allocations: 39.88 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1448, allocations: 103.8 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.145, allocations: 16 kB / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000499/0.1455, allocations: 359.4 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1456, allocations: 71.77 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.1457, allocations: 4 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.402e-05/0.1457, allocations: 4 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.063e-05/0.1458, allocations: 59.83 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.522e-05/0.1459, allocations: 73.52 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.1462, allocations: 283.3 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1462, allocations: 4 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1462, allocations: 0 / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1462, allocations: 0 / 361.7 MB, free: 10.55 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007511/0.1469, allocations: 0.6685 MB / 362.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.147, allocations: 8.031 kB / 362.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.212e-05/0.1471, allocations: 39.53 kB / 362.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1474, allocations: 261.3 kB / 362.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1474, allocations: 4 kB / 362.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1475, allocations: 11.95 kB / 362.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.1478, allocations: 125.6 kB / 362.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1478, allocations: 0 / 362.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.1479, allocations: 8 kB / 362.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1479, allocations: 0 / 362.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.148, allocations: 51.97 kB / 362.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.1487, allocations: 464.5 kB / 363.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.1489, allocations: 94.55 kB / 363.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.149, allocations: 84.89 kB / 363.5 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.1491, allocations: 0 / 363.5 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/0.1494, allocations: 210.6 kB / 363.7 MB, free: 8.336 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.644e-06/0.1494, allocations: 0 / 363.7 MB, free: 8.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007558/0.1502, allocations: 463.4 kB / 364.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.1503, allocations: 178.1 kB / 364.3 MB, free: 7.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006548/0.151, allocations: 0.5207 MB / 364.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.151, allocations: 29.7 kB / 364.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.1511, allocations: 97.12 kB / 365 MB, free: 6.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.1511, allocations: 31.59 kB / 365 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/0.1511, allocations: 4 kB / 365 MB, free: 6.949 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1513, allocations: 326.8 kB / 365.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1514, allocations: 55.97 kB / 365.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1516, allocations: 80.2 kB / 365.5 MB, free: 6.484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.1517, allocations: 162.8 kB / 365.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1518, allocations: 0 / 365.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005281/0.1523, allocations: 380.2 kB / 366 MB, free: 5.898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.56e-05/0.1524, allocations: 122.8 kB / 366.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.1524, allocations: 112 / 366.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1524, allocations: 4.062 kB / 366.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.87e-05/0.1525, allocations: 8 kB / 366.1 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1525, allocations: 4.031 kB / 366.1 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.1526, allocations: 19.98 kB / 366.1 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/0.1527, allocations: 36 kB / 366.2 MB, free: 5.684 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0003757/0.1531, allocations: 367.3 kB / 366.5 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.1531, allocations: 35.62 kB / 366.6 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.1533, allocations: 67.14 kB / 366.6 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1533, allocations: 0 / 366.6 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1533, allocations: 0 / 366.6 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1533, allocations: 4 kB / 366.6 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009978/0.1543, allocations: 0.8172 MB / 367.5 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1543, allocations: 0 / 367.5 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.635e-06/0.1543, allocations: 4 kB / 367.5 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1543, allocations: 0 / 367.5 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.1544, allocations: 15.98 kB / 367.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1544, allocations: 0 / 367.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1544, allocations: 0 / 367.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.155, allocations: 0.5328 MB / 368 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.1554, allocations: 244.4 kB / 368.3 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.1554, allocations: 12 kB / 368.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.1556, allocations: 11.98 kB / 368.3 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.1557, allocations: 23.97 kB / 368.3 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.1558, allocations: 43.94 kB / 368.3 MB, free: 3.336 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000476/0.1562, allocations: 390.8 kB / 368.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1562, allocations: 0 / 368.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.1565, allocations: 51.94 kB / 368.8 MB, free: 2.902 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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 Backend phase and start with SimCode phase: time 0.0001747/0.1567, allocations: 115.2 kB / 368.9 MB, free: 2.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005673/0.1573, allocations: 452.8 kB / 369.3 MB, free: 2.293 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.1573, allocations: 0 / 369.3 MB, free: 2.293 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.1577, allocations: 377.5 kB / 369.7 MB, free: 1.875 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005981/0.1583, allocations: 111.9 kB / 369.8 MB, free: 1.773 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1595, allocations: 0.7313 MB / 370.5 MB, free: 1.016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.1601, allocations: 0.7947 MB / 371.3 MB, free: 200 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.577e-05/0.1601, allocations: 20.62 kB / 371.4 MB, free: 176 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.1602, allocations: 7.438 kB / 371.4 MB, free: 168 kB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1602, allocations: 0 / 371.4 MB, free: 168 kB / 302.1 MB Notification: Performance of Templates: time 0.1986/0.3588, allocations: 3.895 MB / 375.3 MB, free: 19.5 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches