Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.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.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 86.11 kB / 16.64 MB, free: 6.176 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.000889/0.0008892, allocations: 177.5 kB / 17.56 MB, free: 5.824 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.421/1.421, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002861, allocations: 8 kB / 301.4 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1174, allocations: 50.42 MB / 351.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001915/0.1194, allocations: 1.223 MB / 353.1 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.1217, allocations: 0.8663 MB / 353.9 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.1217, allocations: 4 kB / 353.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.91e-05/0.1218, allocations: 0 / 353.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.487e-05/0.1219, allocations: 23.78 kB / 354 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.1222, allocations: 43.95 kB / 354 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.1224, allocations: 111.8 kB / 354.1 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1225, allocations: 19.98 kB / 354.1 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.123, allocations: 379.3 kB / 354.5 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1232, allocations: 67.64 kB / 354.6 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.1232, allocations: 7.938 kB / 354.6 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.543e-05/0.1232, allocations: 4 kB / 354.6 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.679e-05/0.1233, allocations: 63.75 kB / 354.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.1235, allocations: 136.8 kB / 354.8 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.1239, allocations: 338.8 kB / 355.1 MB, free: 416 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1239, allocations: 3.984 kB / 355.1 MB, free: 412 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1239, allocations: 4 kB / 355.1 MB, free: 408 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1239, allocations: 0 / 355.1 MB, free: 408 kB / 286.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.0007556/0.1247, allocations: 0.6608 MB / 355.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1247, allocations: 8.031 kB / 355.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.728e-05/0.1248, allocations: 40.47 kB / 355.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.1251, allocations: 274.3 kB / 356.1 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1251, allocations: 4.375 kB / 356.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.1252, allocations: 8.375 kB / 356.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.1255, allocations: 133.9 kB / 356.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1255, allocations: 0 / 356.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.1256, allocations: 4 kB / 356.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1256, allocations: 0 / 356.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.1257, allocations: 59.95 kB / 356.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/0.1264, allocations: 464.5 kB / 356.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.1266, allocations: 106.5 kB / 356.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.1268, allocations: 84.88 kB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.1268, allocations: 0 / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003479/0.1272, allocations: 198.7 kB / 357.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.1272, allocations: 0 / 357.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008854/0.1281, allocations: 467.1 kB / 357.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.1282, allocations: 174.2 kB / 357.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/0.1289, allocations: 0.5168 MB / 358.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.1289, allocations: 29.7 kB / 358.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.129, allocations: 101.1 kB / 358.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.1291, allocations: 23.66 kB / 358.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.1291, allocations: 25.7 kB / 358.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1293, allocations: 326.8 kB / 358.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1294, allocations: 59.91 kB / 358.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1295, allocations: 76.78 kB / 358.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.1299, allocations: 335.3 kB / 359.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.1299, allocations: 112 / 359.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005266/0.1304, allocations: 396.2 kB / 359.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.701e-05/0.1305, allocations: 118.8 kB / 359.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1305, allocations: 4 kB / 359.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1306, allocations: 0 / 359.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.382e-05/0.1306, allocations: 0 / 359.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.1306, allocations: 11.95 kB / 359.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.1308, allocations: 12 kB / 359.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.1309, allocations: 44 kB / 359.8 MB, free: 11.29 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,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004371/0.1313, allocations: 366.4 kB / 360.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.1314, allocations: 35.62 kB / 360.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.1316, allocations: 71.06 kB / 360.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1316, allocations: 4 kB / 360.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1316, allocations: 0 / 360.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1316, allocations: 4 kB / 360.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.1329, allocations: 0.8055 MB / 361.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1329, allocations: 0 / 361.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.581e-06/0.1329, allocations: 0 / 361.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1329, allocations: 0 / 361.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.1329, allocations: 15.98 kB / 361.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1329, allocations: 0 / 361.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1329, allocations: 3.938 kB / 361.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008956/0.1338, allocations: 0.5406 MB / 361.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.1342, allocations: 248.4 kB / 361.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.1343, allocations: 4 kB / 361.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1344, allocations: 19.98 kB / 361.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.1346, allocations: 19.92 kB / 361.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.1346, allocations: 51.92 kB / 362 MB, free: 8.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005149/0.1351, allocations: 382.9 kB / 362.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1352, allocations: 0 / 362.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003099/0.1355, allocations: 47.94 kB / 362.4 MB, free: 8.52 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00021/0.1357, allocations: 126.9 kB / 362.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006337/0.1363, allocations: 433.5 kB / 362.9 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1364, allocations: 0 / 362.9 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004777/0.1368, allocations: 373.6 kB / 363.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.1375, allocations: 113.4 kB / 363.4 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1387, allocations: 0.7627 MB / 364.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007252/0.1395, allocations: 0.8024 MB / 365 MB, free: 5.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.012e-05/0.1396, allocations: 4.672 kB / 365 MB, free: 5.762 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.1396, allocations: 11.44 kB / 365 MB, free: 5.75 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1396, allocations: 0 / 365 MB, free: 5.75 MB / 302.1 MB Notification: Performance of Templates: time 0.008008/0.1476, allocations: 3.969 MB / 369 MB, free: 1.773 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches