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.001827/0.001827, allocations: 79.58 kB / 21.24 MB, free: 0.543 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.002303/0.002303, allocations: 162.1 kB / 24.5 MB, free: 3.719 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.452/1.452, allocations: 177.1 MB / 204.7 MB, free: 8.984 MB / 190.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.001911/0.001911, allocations: 65.98 kB / 325.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1159, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002768/0.1187, allocations: 1.504 MB / 380.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.1207, allocations: 0.8303 MB / 381.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.044e-05/0.1207, allocations: 0 / 381.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.1209, allocations: 15.86 kB / 381.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.121, allocations: 19.86 kB / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.1213, allocations: 51.88 kB / 381.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.1216, allocations: 131.8 kB / 381.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1217, allocations: 23.91 kB / 381.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000525/0.1222, allocations: 395.3 kB / 381.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1224, allocations: 67.64 kB / 381.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.1224, allocations: 8 kB / 381.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.1225, allocations: 12 kB / 381.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.1225, allocations: 63.77 kB / 382 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1227, allocations: 79.36 kB / 382.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.1231, allocations: 370.4 kB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1231, allocations: 0 / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1231, allocations: 0 / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1231, allocations: 4 kB / 382.4 MB, free: 11.93 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.0008069/0.1239, allocations: 0.6552 MB / 383.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1239, allocations: 11.98 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.797e-05/0.124, allocations: 44.69 kB / 383.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.1243, allocations: 216.8 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.1243, allocations: 4.375 kB / 383.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.1243, allocations: 12.38 kB / 383.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.1247, allocations: 252.6 kB / 383.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1247, allocations: 4 kB / 383.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.1247, allocations: 0 / 383.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1247, allocations: 4 kB / 383.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.125, allocations: 174.8 kB / 383.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.1256, allocations: 384.2 kB / 384.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.1258, allocations: 193.3 kB / 384.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.126, allocations: 183.7 kB / 384.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.126, allocations: 4 kB / 384.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000421/0.1265, allocations: 325.4 kB / 384.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1265, allocations: 0 / 384.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009563/0.1274, allocations: 0.7083 MB / 385.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.1275, allocations: 170.2 kB / 385.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006684/0.1282, allocations: 0.5168 MB / 386.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.1282, allocations: 29.7 kB / 386.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.1283, allocations: 101.1 kB / 386.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.1283, allocations: 27.78 kB / 386.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1285, allocations: 85.5 kB / 386.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1286, allocations: 330.8 kB / 386.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.1288, allocations: 182.7 kB / 387 MB, free: 6.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.129, allocations: 192.5 kB / 387.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.1294, allocations: 351.3 kB / 387.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1294, allocations: 0 / 387.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006312/0.13, allocations: 0.4913 MB / 388 MB, free: 5.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.1302, allocations: 130.8 kB / 388.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1302, allocations: 128 / 388.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1302, allocations: 0 / 388.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.418e-05/0.1302, allocations: 8.016 kB / 388.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1302, allocations: 8.062 kB / 388.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1303, allocations: 19.94 kB / 388.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.1304, allocations: 40 kB / 388.2 MB, free: 5.527 MB / 350.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.0003615/0.1308, allocations: 362.4 kB / 388.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.1308, allocations: 39.77 kB / 388.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.1309, allocations: 59.09 kB / 388.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1309, allocations: 4 kB / 388.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1309, allocations: 0 / 388.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1309, allocations: 7.922 kB / 388.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.132, allocations: 0.8667 MB / 389.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.132, allocations: 0 / 389.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-06/0.132, allocations: 3.938 kB / 389.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.132, allocations: 0 / 389.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.1321, allocations: 19.98 kB / 389.6 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1321, allocations: 0 / 389.6 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1321, allocations: 0 / 389.6 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/0.1328, allocations: 0.6639 MB / 390.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.1332, allocations: 197.4 kB / 390.4 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.1332, allocations: 12 kB / 390.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1334, allocations: 15.98 kB / 390.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.1335, allocations: 27.97 kB / 390.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.1335, allocations: 47.94 kB / 390.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004764/0.134, allocations: 386.9 kB / 390.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.134, allocations: 3.938 kB / 390.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.1343, allocations: 43.94 kB / 391 MB, free: 2.609 MB / 350.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.0001411/0.1344, allocations: 119.1 kB / 391.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006784/0.1351, allocations: 0.6163 MB / 391.7 MB, free: 1.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1351, allocations: 0 / 391.7 MB, free: 1.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.1355, allocations: 424.4 kB / 392.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.1361, allocations: 123.9 kB / 392.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.1373, allocations: 0.7806 MB / 393 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.1375, allocations: 193.7 kB / 393.2 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.1375, allocations: 12.7 kB / 393.2 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.1376, allocations: 12.5 kB / 393.2 MB, free: 108 kB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1376, allocations: 4 kB / 393.2 MB, free: 104 kB / 350.1 MB Notification: Performance of Templates: time 0.009362/0.1469, allocations: 4.939 MB / 398.2 MB, free: 11.16 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.405746341100894]