Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 174 kB / 24.82 MB, free: 9.305 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.629e-05, allocations: 2.312 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002443/0.002469, allocations: 1.532 MB / 274.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.003962, allocations: 0.8614 MB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.004025, allocations: 4 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.036e-05/0.004105, allocations: 11.86 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.365e-05/0.004179, allocations: 15.86 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.004415, allocations: 51.88 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.00457, allocations: 135.7 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.861e-05/0.004648, allocations: 19.92 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003701/0.005019, allocations: 419.2 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.877e-05/0.005107, allocations: 55.81 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.005136, allocations: 16 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.144e-05/0.005158, allocations: 8 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.005213, allocations: 59.78 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.005271, allocations: 59.67 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.005476, allocations: 267.1 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005478, allocations: 0 / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005478, allocations: 0 / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.005483, allocations: 0 / 276.9 MB, free: 13.79 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.0005484/0.006031, allocations: 0.7862 MB / 277.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.006063, allocations: 12.03 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.006117, allocations: 48.64 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.006274, allocations: 226.9 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.006288, allocations: 4.375 kB / 278 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.006305, allocations: 12.38 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.006513, allocations: 233.7 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.006523, allocations: 192 / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.006535, allocations: 4.375 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.006541, allocations: 7.875 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.192e-05/0.006623, allocations: 158.8 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.007016, allocations: 400.1 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.007129, allocations: 185.8 kB / 278.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.428e-05/0.007213, allocations: 162.5 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-06/0.007219, allocations: 4 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.007401, allocations: 311.1 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 8.11e-07/0.007402, allocations: 0 / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004981/0.0079, allocations: 0.6502 MB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.007979, allocations: 170.2 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.008409, allocations: 0.5138 MB / 280.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.008428, allocations: 33.7 kB / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.008489, allocations: 147.8 kB / 280.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.008518, allocations: 27.78 kB / 280.9 MB, free: 9.301 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/0.008593, allocations: 91.14 kB / 281 MB, free: 9.203 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.008743, allocations: 0.4962 MB / 281.5 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.008846, allocations: 150.8 kB / 281.7 MB, free: 8.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.008937, allocations: 174.1 kB / 281.8 MB, free: 8.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.009099, allocations: 321 kB / 282.1 MB, free: 7.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.009101, allocations: 0 / 282.1 MB, free: 7.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003163/0.009417, allocations: 490.7 kB / 282.6 MB, free: 7.418 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.528e-05/0.009483, allocations: 126.8 kB / 282.8 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.009487, allocations: 0 / 282.8 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.009497, allocations: 0 / 282.8 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.564e-05/0.009513, allocations: 4 kB / 282.8 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.009516, allocations: 4 kB / 282.8 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.057e-05/0.009597, allocations: 15.94 kB / 282.8 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.009633, allocations: 40 kB / 282.8 MB, free: 7.207 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.000233/0.009866, allocations: 389.2 kB / 283.2 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.009911, allocations: 55.73 kB / 283.2 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.009993, allocations: 55.08 kB / 283.3 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.009995, allocations: 0 / 283.3 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.009999, allocations: 4.125 kB / 283.3 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01, allocations: 0 / 283.3 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/0.0106, allocations: 0.8313 MB / 284.1 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.01061, allocations: 3.984 kB / 284.1 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-06/0.01062, allocations: 7.938 kB / 284.1 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01062, allocations: 0 / 284.1 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.01063, allocations: 12 kB / 284.2 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01063, allocations: 4 kB / 284.2 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01064, allocations: 0 / 284.2 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.01102, allocations: 0.6769 MB / 284.8 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.01124, allocations: 189.3 kB / 285 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.01127, allocations: 12 kB / 285 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.01135, allocations: 8 kB / 285 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.01141, allocations: 23.97 kB / 285.1 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.01145, allocations: 47.88 kB / 285.1 MB, free: 4.719 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.01166, allocations: 306.8 kB / 285.4 MB, free: 4.426 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01166, allocations: 4 kB / 285.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001906/0.01185, allocations: 40 kB / 285.5 MB, free: 4.383 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 9.965e-05/0.01195, allocations: 119 kB / 285.6 MB, free: 4.254 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.01227, allocations: 0.5731 MB / 286.1 MB, free: 3.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01227, allocations: 0 / 286.1 MB, free: 3.578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.01247, allocations: 416 kB / 286.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.01283, allocations: 134.4 kB / 286.7 MB, free: 2.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.01358, allocations: 0.7486 MB / 287.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.619e-05/0.01365, allocations: 99.25 kB / 287.5 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.414e-05/0.0137, allocations: 4.719 kB / 287.5 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.01393, allocations: 186.5 kB / 287.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01393, allocations: 0 / 287.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of Templates: time 0.006032/0.01996, allocations: 4.533 MB / 292.3 MB, free: 13.35 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.8251509070396423]