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.001285/0.001285, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 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.0009933/0.0009933, allocations: 142.3 kB / 24.97 MB, free: 8.324 MB / 18.57 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.008/1.008, allocations: 173.3 MB / 201.5 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] 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 1.724e-06/1.724e-06, allocations: 0 / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.824e-05, allocations: 6.312 kB / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002607/0.002625, allocations: 1.522 MB / 269.6 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.004715, allocations: 0.8224 MB / 270.4 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.004773, allocations: 0 / 270.4 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.006966, allocations: 11.86 kB / 270.4 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.0071, allocations: 27.84 kB / 270.5 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.007461, allocations: 51.83 kB / 270.5 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.00773, allocations: 143.7 kB / 270.6 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.007857, allocations: 15.92 kB / 270.7 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005891/0.008446, allocations: 419.2 kB / 271.1 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.008591, allocations: 51.83 kB / 271.1 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.008634, allocations: 12 kB / 271.1 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.935e-05/0.008663, allocations: 8 kB / 271.1 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.763e-05/0.008751, allocations: 71.66 kB / 271.2 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.008828, allocations: 59.77 kB / 271.3 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.009073, allocations: 267.1 kB / 271.5 MB, free: 3.246 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.009076, allocations: 0 / 271.5 MB, free: 3.246 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.009078, allocations: 0 / 271.5 MB, free: 3.246 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.009083, allocations: 3.938 kB / 271.5 MB, free: 3.242 MB / 250.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.0006345/0.009717, allocations: 0.7824 MB / 272.3 MB, free: 2.398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.009754, allocations: 8.922 kB / 272.3 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.009828, allocations: 44.7 kB / 272.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.01004, allocations: 222.9 kB / 272.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.01007, allocations: 4.375 kB / 272.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.01009, allocations: 8.375 kB / 272.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.01039, allocations: 249.7 kB / 272.8 MB, free: 1.812 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.0104, allocations: 4.172 kB / 272.8 MB, free: 1.809 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.01042, allocations: 4.375 kB / 272.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.01043, allocations: 7.875 kB / 272.9 MB, free: 1.797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.01054, allocations: 166.8 kB / 273 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.01111, allocations: 499.4 kB / 273.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.01126, allocations: 197.8 kB / 273.7 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.01137, allocations: 170.5 kB / 273.9 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.01138, allocations: 3.938 kB / 273.9 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.01163, allocations: 319.1 kB / 274.2 MB, free: 300 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.01163, allocations: 0 / 274.2 MB, free: 300 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006045/0.01224, allocations: 0.6815 MB / 274.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.0123, allocations: 170.2 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006547/0.01296, allocations: 0.6232 MB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.01298, allocations: 29.7 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.01304, allocations: 151.9 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.01307, allocations: 35.67 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.01314, allocations: 87.16 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.01325, allocations: 0.4962 MB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.01336, allocations: 162.8 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.01347, allocations: 186.1 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.01366, allocations: 331.8 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.01367, allocations: 0 / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000365/0.01403, allocations: 495 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.955e-05/0.0141, allocations: 126.8 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01411, allocations: 0 / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.01412, allocations: 8.031 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.081e-05/0.01414, allocations: 0 / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.01415, allocations: 128 / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.01425, allocations: 19.98 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.01429, allocations: 36 kB / 277.8 MB, free: 12.34 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.0002424/0.01453, allocations: 389.2 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.01458, allocations: 55.7 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.372e-05/0.01465, allocations: 55.08 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01465, allocations: 0 / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.01466, allocations: 0 / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01466, allocations: 4 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000947/0.01561, allocations: 0.9594 MB / 279.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01561, allocations: 0 / 279.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-06/0.01562, allocations: 3.984 kB / 279.2 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01562, allocations: 0 / 279.2 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.01564, allocations: 12 kB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.01564, allocations: 0 / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01564, allocations: 0 / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.01608, allocations: 0.7003 MB / 279.9 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.0163, allocations: 177.4 kB / 280.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.01634, allocations: 16 kB / 280.1 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.01643, allocations: 15.98 kB / 280.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.01652, allocations: 23.97 kB / 280.2 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.01655, allocations: 40 kB / 280.2 MB, free: 9.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003623/0.01691, allocations: 434.7 kB / 280.6 MB, free: 9.273 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.01691, allocations: 0 / 280.6 MB, free: 9.273 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.01712, allocations: 43.95 kB / 280.7 MB, free: 9.23 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.0001081/0.01722, allocations: 119 kB / 280.8 MB, free: 9.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003822/0.01761, allocations: 0.6005 MB / 281.4 MB, free: 8.402 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01761, allocations: 0 / 281.4 MB, free: 8.402 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.01781, allocations: 428 kB / 281.8 MB, free: 7.906 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.01822, allocations: 137.9 kB / 282 MB, free: 7.781 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000784/0.019, allocations: 0.7447 MB / 282.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.615e-05/0.01908, allocations: 99.25 kB / 282.8 MB, free: 6.867 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.182e-05/0.01912, allocations: 4.734 kB / 282.8 MB, free: 6.859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.01914, allocations: 12.5 kB / 282.8 MB, free: 6.848 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01915, allocations: 4.062 kB / 282.8 MB, free: 6.844 MB / 266.7 MB Notification: Performance of Templates: time 0.006149/0.02529, allocations: 4.945 MB / 287.8 MB, free: 1.926 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7878899711649865]