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.00133/0.00133, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.001416/0.001416, allocations: 214.3 kB / 22.99 MB, free: 5.578 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.554/1.554, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.001816/0.001816, allocations: 63.91 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3854, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002858/0.3883, allocations: 1.541 MB / 431.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.3904, allocations: 0.8887 MB / 432.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.3904, allocations: 0 / 432.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.407e-05/0.3905, allocations: 11.86 kB / 432.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.725e-05/0.3906, allocations: 23.84 kB / 432.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.3909, allocations: 55.89 kB / 432.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.3911, allocations: 131.7 kB / 432.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3912, allocations: 19.97 kB / 432.5 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000483/0.3917, allocations: 391.3 kB / 432.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.3918, allocations: 71.69 kB / 432.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.3918, allocations: 8 kB / 432.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.056e-05/0.3919, allocations: 12 kB / 432.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.895e-05/0.392, allocations: 63.7 kB / 433 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3921, allocations: 115.2 kB / 433.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.3925, allocations: 359.8 kB / 433.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3925, allocations: 11.94 kB / 433.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3925, allocations: 0 / 433.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3925, allocations: 0 / 433.5 MB, free: 3.848 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.0008608/0.3933, allocations: 0.7344 MB / 434.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3934, allocations: 8.031 kB / 434.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.293e-05/0.3935, allocations: 40.7 kB / 434.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.3938, allocations: 274.7 kB / 434.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.3938, allocations: 12.36 kB / 434.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.3938, allocations: 8.375 kB / 434.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.3942, allocations: 129.9 kB / 434.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3942, allocations: 0 / 434.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.3942, allocations: 8 kB / 434.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3942, allocations: 0 / 434.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.3943, allocations: 59.95 kB / 434.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000647/0.395, allocations: 456.5 kB / 435.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.3952, allocations: 78.47 kB / 435.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.3953, allocations: 64.89 kB / 435.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.3953, allocations: 0 / 435.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.3956, allocations: 198.7 kB / 435.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.3956, allocations: 0 / 435.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008071/0.3964, allocations: 479.6 kB / 436 MB, free: 1.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.3965, allocations: 170.2 kB / 436.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006386/0.3972, allocations: 0.5168 MB / 436.7 MB, free: 380 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.3972, allocations: 33.7 kB / 436.7 MB, free: 340 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.3973, allocations: 101.2 kB / 436.8 MB, free: 236 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.3973, allocations: 31.73 kB / 436.8 MB, free: 204 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.3974, allocations: 81.5 kB / 436.9 MB, free: 116 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3976, allocations: 326.8 kB / 437.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.3977, allocations: 59.91 kB / 437.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.3979, allocations: 69.69 kB / 437.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.3982, allocations: 343.3 kB / 437.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3982, allocations: 0 / 437.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005396/0.3988, allocations: 380.3 kB / 438.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.3989, allocations: 118.8 kB / 438.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3989, allocations: 80 / 438.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3989, allocations: 4 kB / 438.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.725e-05/0.3989, allocations: 0 / 438.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3989, allocations: 3.984 kB / 438.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.3991, allocations: 23.97 kB / 438.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.3991, allocations: 40.12 kB / 438.3 MB, free: 14.65 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.0003794/0.3995, allocations: 366.2 kB / 438.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.3996, allocations: 39.77 kB / 438.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.3997, allocations: 67.14 kB / 438.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3997, allocations: 0 / 438.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3997, allocations: 0 / 438.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3997, allocations: 3.938 kB / 438.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.4007, allocations: 0.8207 MB / 439.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4007, allocations: 0 / 439.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-06/0.4007, allocations: 0 / 439.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4007, allocations: 0 / 439.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.4007, allocations: 15.98 kB / 439.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4007, allocations: 0 / 439.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4007, allocations: 7.938 kB / 439.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/0.4014, allocations: 0.5214 MB / 440.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.4018, allocations: 252.5 kB / 440.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.4019, allocations: 16 kB / 440.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.402, allocations: 15.97 kB / 440.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.4021, allocations: 27.92 kB / 440.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.4021, allocations: 43.92 kB / 440.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004908/0.4026, allocations: 386.9 kB / 440.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4026, allocations: 0 / 440.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.4029, allocations: 48 kB / 440.9 MB, free: 11.87 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.0001591/0.4031, allocations: 119 kB / 441 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.4036, allocations: 373.5 kB / 441.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4036, allocations: 0 / 441.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.4039, allocations: 297.8 kB / 441.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.4045, allocations: 130.3 kB / 441.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.406, allocations: 0.6649 MB / 442.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/0.4067, allocations: 0.8062 MB / 443.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.4068, allocations: 8.656 kB / 443.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.4068, allocations: 11.44 kB / 443.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of SimCode: time 1.001e-06/0.4068, allocations: 0 / 443.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of Templates: time 0.01109/0.4179, allocations: 4.57 MB / 447.8 MB, free: 4.734 MB / 350.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/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.769987100735307]