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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] 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=5009,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=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 48.06 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3271, allocations: 52.13 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00314/0.3303, allocations: 1.533 MB / 422.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.3324, allocations: 0.8674 MB / 423.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.173e-05/0.3325, allocations: 0 / 423.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.3326, allocations: 3.938 kB / 423.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.3327, allocations: 27.78 kB / 423.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.333, allocations: 51.89 kB / 423.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.3333, allocations: 131.8 kB / 423.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.3334, allocations: 15.97 kB / 423.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.3339, allocations: 395.2 kB / 423.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.3341, allocations: 75.75 kB / 423.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.3341, allocations: 8 kB / 424 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3e-05/0.3341, allocations: 12 kB / 424 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.3342, allocations: 67.64 kB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.3344, allocations: 111.2 kB / 424.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.3348, allocations: 363.7 kB / 424.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3348, allocations: 4 kB / 424.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3348, allocations: 0 / 424.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.3348, allocations: 0 / 424.5 MB, free: 11.49 MB / 334.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.000906/0.3357, allocations: 0.7344 MB / 425.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3358, allocations: 12.03 kB / 425.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.3358, allocations: 40.7 kB / 425.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.3362, allocations: 278.6 kB / 425.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.3362, allocations: 8.375 kB / 425.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.3362, allocations: 12.38 kB / 425.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.3366, allocations: 127.8 kB / 425.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3366, allocations: 0 / 425.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.3366, allocations: 4 kB / 425.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3366, allocations: 3.984 kB / 425.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.3368, allocations: 59.91 kB / 425.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007493/0.3375, allocations: 464.5 kB / 426.2 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.3377, allocations: 70.55 kB / 426.3 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.3378, allocations: 60.89 kB / 426.3 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.3378, allocations: 0 / 426.3 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/0.3382, allocations: 210.6 kB / 426.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.3382, allocations: 0 / 426.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008451/0.3391, allocations: 472.1 kB / 427 MB, free: 8.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.3392, allocations: 170.2 kB / 427.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000646/0.3398, allocations: 0.5091 MB / 427.7 MB, free: 8.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.3399, allocations: 33.7 kB / 427.7 MB, free: 7.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/0.34, allocations: 101.1 kB / 427.8 MB, free: 7.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.34, allocations: 31.8 kB / 427.9 MB, free: 7.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.3401, allocations: 77.56 kB / 427.9 MB, free: 7.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3403, allocations: 330.8 kB / 428.3 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3404, allocations: 55.97 kB / 428.3 MB, free: 7.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.3405, allocations: 69.69 kB / 428.4 MB, free: 7.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.3409, allocations: 350.1 kB / 428.7 MB, free: 6.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3409, allocations: 0 / 428.7 MB, free: 6.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005949/0.3415, allocations: 380.4 kB / 429.1 MB, free: 6.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.3416, allocations: 130.7 kB / 429.2 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3416, allocations: 0 / 429.2 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3416, allocations: 4 kB / 429.2 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.54e-05/0.3417, allocations: 0 / 429.2 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3417, allocations: 4.016 kB / 429.2 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.3418, allocations: 12 kB / 429.2 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/0.3419, allocations: 43.97 kB / 429.3 MB, free: 6.281 MB / 334.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.0003944/0.3423, allocations: 366.2 kB / 429.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.3423, allocations: 47.8 kB / 429.7 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.3424, allocations: 63.16 kB / 429.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3424, allocations: 0 / 429.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.3424, allocations: 0 / 429.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3424, allocations: 0 / 429.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3435, allocations: 0.8134 MB / 430.6 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3435, allocations: 3.938 kB / 430.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-06/0.3435, allocations: 3.984 kB / 430.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3435, allocations: 0 / 430.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.3435, allocations: 12 kB / 430.6 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3435, allocations: 4 kB / 430.6 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3435, allocations: 3.938 kB / 430.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/0.3442, allocations: 0.5282 MB / 431.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.3445, allocations: 244.6 kB / 431.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.627e-05/0.3446, allocations: 15.94 kB / 431.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.3447, allocations: 15.98 kB / 431.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.3449, allocations: 27.91 kB / 431.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.3449, allocations: 44 kB / 431.5 MB, free: 3.934 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005087/0.3454, allocations: 394.8 kB / 431.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3454, allocations: 0 / 431.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.3457, allocations: 44 kB / 431.9 MB, free: 3.508 MB / 334.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.0001685/0.3459, allocations: 119 kB / 432 MB, free: 3.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005413/0.3464, allocations: 369.5 kB / 432.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3464, allocations: 0 / 432.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.3467, allocations: 305.6 kB / 432.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006153/0.3473, allocations: 129 kB / 432.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.3485, allocations: 0.6687 MB / 433.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/0.349, allocations: 0.806 MB / 434.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.667e-05/0.3491, allocations: 8.656 kB / 434.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.3491, allocations: 11.44 kB / 434.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3491, allocations: 4 kB / 434.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of Templates: time 0.008978/0.3581, allocations: 4.573 MB / 438.9 MB, free: 12.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.598904748447239]