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.001888/0.001888, allocations: 99.53 kB / 20.96 MB, free: 3.453 MB / 18.57 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.002036/0.002036, allocations: 164.8 kB / 24.27 MB, free: 152 kB / 18.57 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.532/1.532, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 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 1.263e-06/1.263e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.199e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002893/0.002925, allocations: 1.508 MB / 273.7 MB, free: 304 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.005102, allocations: 0.8497 MB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.423e-05/0.005156, allocations: 0 / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.005273, allocations: 11.92 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.572e-05/0.005368, allocations: 23.78 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.00568, allocations: 51.83 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.00595, allocations: 139.7 kB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.006063, allocations: 19.98 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005969/0.006659, allocations: 415.2 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.006799, allocations: 63.77 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.337e-05/0.006872, allocations: 8 kB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.613e-05/0.006918, allocations: 12 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.76e-05/0.007016, allocations: 59.78 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.007118, allocations: 55.78 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.007595, allocations: 362.8 kB / 275.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.0076, allocations: 0 / 275.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007601, allocations: 0 / 275.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.007606, allocations: 0 / 275.8 MB, free: 14.24 MB / 266.7 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.001107/0.008713, allocations: 0.8055 MB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.008753, allocations: 11.98 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.008878, allocations: 52.7 kB / 276.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.009216, allocations: 214.9 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.009246, allocations: 16.3 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.009272, allocations: 8.375 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.009684, allocations: 245 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.009692, allocations: 4.188 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.009725, allocations: 4.375 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.009733, allocations: 7.938 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.009977, allocations: 178.8 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009953/0.01097, allocations: 0.5501 MB / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.01128, allocations: 217.8 kB / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.01152, allocations: 190.5 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.01154, allocations: 3.938 kB / 278.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004577/0.01199, allocations: 343.1 kB / 278.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.012, allocations: 0 / 278.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001149/0.01315, allocations: 0.7238 MB / 279.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.01328, allocations: 170.2 kB / 279.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.01434, allocations: 0.6936 MB / 280.2 MB, free: 9.414 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.01438, allocations: 33.7 kB / 280.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.01451, allocations: 163.8 kB / 280.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.01455, allocations: 23.86 kB / 280.4 MB, free: 9.184 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.01471, allocations: 95.16 kB / 280.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002791/0.01499, allocations: 0.5001 MB / 281 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.01522, allocations: 174.8 kB / 281.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.01546, allocations: 206.1 kB / 281.3 MB, free: 8.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.0159, allocations: 364.9 kB / 281.7 MB, free: 7.727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.0159, allocations: 0 / 281.7 MB, free: 7.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007459/0.01665, allocations: 0.5108 MB / 282.2 MB, free: 7.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.01676, allocations: 126.8 kB / 282.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.01676, allocations: 4 kB / 282.3 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.01678, allocations: 0 / 282.3 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.511e-05/0.0168, allocations: 3.938 kB / 282.3 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.01681, allocations: 0 / 282.3 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.01695, allocations: 15.98 kB / 282.3 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.01701, allocations: 40 kB / 282.4 MB, free: 6.949 MB / 266.7 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.0004135/0.01743, allocations: 393.4 kB / 282.8 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-05/0.01752, allocations: 55.64 kB / 282.8 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.01763, allocations: 55.08 kB / 282.9 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01763, allocations: 8 kB / 282.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01764, allocations: 0 / 282.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01764, allocations: 0 / 282.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.01911, allocations: 1.038 MB / 283.9 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01911, allocations: 0 / 283.9 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-06/0.01911, allocations: 0 / 283.9 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01912, allocations: 0 / 283.9 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.01915, allocations: 16.19 kB / 283.9 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.01916, allocations: 7.984 kB / 283.9 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01916, allocations: 0 / 283.9 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009294/0.02009, allocations: 0.7468 MB / 284.7 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/0.0205, allocations: 189.4 kB / 284.9 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.02056, allocations: 12 kB / 284.9 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.02068, allocations: 11.98 kB / 284.9 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.02081, allocations: 31.95 kB / 284.9 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/0.02087, allocations: 39.94 kB / 285 MB, free: 4.172 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006529/0.02152, allocations: 458.7 kB / 285.4 MB, free: 3.727 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02152, allocations: 0 / 285.4 MB, free: 3.727 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002909/0.02181, allocations: 44 kB / 285.5 MB, free: 3.684 MB / 266.7 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.0001679/0.02198, allocations: 115 kB / 285.6 MB, free: 3.559 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008497/0.02283, allocations: 0.655 MB / 286.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02283, allocations: 0 / 286.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.02331, allocations: 464 kB / 286.7 MB, free: 2.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.02404, allocations: 137.9 kB / 286.8 MB, free: 2.145 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.02538, allocations: 0.772 MB / 287.6 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.02565, allocations: 177.8 kB / 287.8 MB, free: 1.129 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.229e-05/0.0257, allocations: 16.66 kB / 287.8 MB, free: 1.109 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.02574, allocations: 20.5 kB / 287.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of SimCode: time 5e-07/0.02574, allocations: 0 / 287.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of Templates: time 0.01011/0.03585, allocations: 4.918 MB / 292.7 MB, free: 12.17 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.614001129986718]