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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001736/0.001736, allocations: 111.9 kB / 19.17 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002111/0.002111, allocations: 208.9 kB / 22.13 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 230.2 MB / 255.2 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] 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=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.89 kB / 374.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09948/0.1014, allocations: 53.32 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002908/0.1043, allocations: 1.541 MB / 429.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.1065, allocations: 0.881 MB / 430.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.384e-05/0.1065, allocations: 3.938 kB / 430.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1066, allocations: 7.922 kB / 430.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.1068, allocations: 19.86 kB / 430.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.1072, allocations: 55.88 kB / 430.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.1074, allocations: 131.7 kB / 430.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1076, allocations: 19.98 kB / 430.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005348/0.1081, allocations: 399.2 kB / 430.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.1083, allocations: 67.75 kB / 430.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.1083, allocations: 8 kB / 431 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.749e-05/0.1083, allocations: 15.94 kB / 431 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1084, allocations: 59.77 kB / 431 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.1086, allocations: 115.1 kB / 431.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.109, allocations: 358.5 kB / 431.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.109, allocations: 4 kB / 431.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.109, allocations: 0 / 431.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.109, allocations: 3.984 kB / 431.5 MB, free: 0.8242 MB / 350.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.0009611/0.1099, allocations: 0.7344 MB / 432.2 MB, free: 16 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.11, allocations: 8.031 kB / 432.2 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.345e-05/0.1101, allocations: 40.75 kB / 432.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.1104, allocations: 278.6 kB / 432.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1104, allocations: 8.312 kB / 432.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.1105, allocations: 8.375 kB / 432.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.1108, allocations: 129.9 kB / 432.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1108, allocations: 0 / 432.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.1108, allocations: 8 kB / 432.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1108, allocations: 4 kB / 432.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.111, allocations: 55.95 kB / 432.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006708/0.1116, allocations: 464.4 kB / 433.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.1118, allocations: 70.55 kB / 433.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.112, allocations: 68.88 kB / 433.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.112, allocations: 0 / 433.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004291/0.1124, allocations: 206.6 kB / 433.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.1124, allocations: 0 / 433.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009197/0.1133, allocations: 468.2 kB / 434 MB, free: 14.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.1134, allocations: 166.2 kB / 434.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006872/0.1141, allocations: 0.5208 MB / 434.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.1142, allocations: 29.7 kB / 434.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.1142, allocations: 101.1 kB / 434.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.1143, allocations: 31.78 kB / 434.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.1144, allocations: 81.52 kB / 434.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1146, allocations: 326.8 kB / 435.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1148, allocations: 51.97 kB / 435.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.1149, allocations: 77.67 kB / 435.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.1153, allocations: 345.4 kB / 435.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1153, allocations: 0 / 435.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005599/0.1158, allocations: 376.3 kB / 436.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.1159, allocations: 122.8 kB / 436.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1159, allocations: 0 / 436.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.116, allocations: 0 / 436.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.083e-05/0.116, allocations: 112 / 436.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.116, allocations: 7.938 kB / 436.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1161, allocations: 27.91 kB / 436.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.1162, allocations: 36.12 kB / 436.3 MB, free: 11.62 MB / 366.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.0003689/0.1166, allocations: 378.1 kB / 436.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.1166, allocations: 35.81 kB / 436.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.1167, allocations: 71.12 kB / 436.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1167, allocations: 0 / 436.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1167, allocations: 4 kB / 436.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1167, allocations: 0 / 436.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.1179, allocations: 0.8134 MB / 437.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1179, allocations: 0 / 437.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-06/0.1179, allocations: 0 / 437.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1179, allocations: 0 / 437.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.1179, allocations: 19.98 kB / 437.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1179, allocations: 0 / 437.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1179, allocations: 7.875 kB / 437.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006844/0.1186, allocations: 0.5246 MB / 438.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.1189, allocations: 248.6 kB / 438.4 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.119, allocations: 12 kB / 438.4 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.1191, allocations: 12 kB / 438.4 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.1192, allocations: 27.91 kB / 438.4 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.761e-05/0.1193, allocations: 47.92 kB / 438.5 MB, free: 9.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005061/0.1198, allocations: 386.9 kB / 438.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1198, allocations: 0 / 438.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.1201, allocations: 44 kB / 438.9 MB, free: 8.848 MB / 366.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.0001472/0.1202, allocations: 115 kB / 439 MB, free: 8.727 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005322/0.1208, allocations: 377.4 kB / 439.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1208, allocations: 0 / 439.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.1211, allocations: 301.8 kB / 439.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.1217, allocations: 121.7 kB / 439.8 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.1229, allocations: 0.7056 MB / 440.5 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.1235, allocations: 0.81 MB / 441.3 MB, free: 6.281 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.1235, allocations: 11.44 kB / 441.3 MB, free: 6.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1235, allocations: 0 / 441.3 MB, free: 6.27 MB / 366.1 MB Notification: Performance of Templates: time 0.004891/0.1284, allocations: 2.575 MB / 443.9 MB, free: 3.664 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.735406432067975]