Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001088/0.001088, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001155/0.001155, allocations: 173 kB / 25.33 MB, free: 9.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.012/1.012, allocations: 158.6 MB / 187.2 MB, free: 2.473 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 251 MB, free: 3.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.459e-05/4.673e-05, allocations: 2.312 kB / 251 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003266/0.003313, allocations: 1.525 MB / 252.6 MB, free: 2.141 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.005528, allocations: 0.8546 MB / 253.4 MB, free: 1.277 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.005594, allocations: 0 / 253.4 MB, free: 1.277 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.005726, allocations: 15.92 kB / 253.4 MB, free: 1.262 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.005842, allocations: 31.72 kB / 253.5 MB, free: 1.23 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.006217, allocations: 47.83 kB / 253.5 MB, free: 1.184 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.006459, allocations: 139.7 kB / 253.6 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.006603, allocations: 15.98 kB / 253.7 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005326/0.007136, allocations: 419.2 kB / 254.1 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.007295, allocations: 59.81 kB / 254.1 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.854e-05/0.007344, allocations: 8 kB / 254.1 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.242e-05/0.007376, allocations: 12 kB / 254.2 MB, free: 0.543 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.007489, allocations: 67.72 kB / 254.2 MB, free: 488 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.007597, allocations: 59.78 kB / 254.3 MB, free: 428 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.007944, allocations: 271 kB / 254.5 MB, free: 156 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.007947, allocations: 0 / 254.5 MB, free: 156 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.007949, allocations: 0 / 254.5 MB, free: 156 kB / 234.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.007956, allocations: 0 / 254.5 MB, free: 156 kB / 234.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.0009034/0.00886, allocations: 0.7787 MB / 255.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.008917, allocations: 11.98 kB / 255.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.00902, allocations: 48.7 kB / 255.4 MB, free: 15.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.00935, allocations: 222.8 kB / 255.6 MB, free: 15 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.009387, allocations: 8.375 kB / 255.6 MB, free: 15 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.009423, allocations: 12.38 kB / 255.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.009874, allocations: 241.7 kB / 255.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.009888, allocations: 192 / 255.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.009911, allocations: 4.375 kB / 255.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.009924, allocations: 3.938 kB / 255.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.01008, allocations: 166.8 kB / 256 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007233/0.01081, allocations: 0.4955 MB / 256.5 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.01101, allocations: 193.8 kB / 256.7 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.01117, allocations: 174.5 kB / 256.9 MB, free: 13.56 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.01119, allocations: 7.922 kB / 256.9 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003003/0.01149, allocations: 323.3 kB / 257.2 MB, free: 13.19 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.01149, allocations: 3.938 kB / 257.2 MB, free: 13.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008119/0.0123, allocations: 0.6697 MB / 257.9 MB, free: 12.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.885e-05/0.0124, allocations: 174.2 kB / 258 MB, free: 12.23 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.0134, allocations: 0.631 MB / 258.7 MB, free: 11.58 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.01343, allocations: 29.7 kB / 258.7 MB, free: 11.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.01352, allocations: 147.9 kB / 258.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.01356, allocations: 27.8 kB / 258.9 MB, free: 11.37 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.01367, allocations: 91.16 kB / 259 MB, free: 11.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.01384, allocations: 0.4923 MB / 259.5 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.01399, allocations: 162.8 kB / 259.6 MB, free: 10.58 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.01414, allocations: 189.7 kB / 259.8 MB, free: 10.37 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.01442, allocations: 343.1 kB / 260.1 MB, free: 9.977 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01442, allocations: 0 / 260.1 MB, free: 9.977 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004751/0.01489, allocations: 491 kB / 260.6 MB, free: 9.441 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.08e-05/0.01497, allocations: 126.8 kB / 260.7 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01498, allocations: 0 / 260.7 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.015, allocations: 0 / 260.7 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.698e-05/0.01503, allocations: 0 / 260.7 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.01504, allocations: 4 kB / 260.7 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.01517, allocations: 19.94 kB / 260.8 MB, free: 9.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.01522, allocations: 40 kB / 260.8 MB, free: 9.23 MB / 250.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.0002928/0.01552, allocations: 389.2 kB / 261.2 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.01557, allocations: 51.7 kB / 261.2 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.01568, allocations: 55.08 kB / 261.3 MB, free: 8.707 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.01568, allocations: 4 kB / 261.3 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.01569, allocations: 4 kB / 261.3 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01569, allocations: 0 / 261.3 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.01675, allocations: 0.9502 MB / 262.2 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01676, allocations: 0 / 262.2 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.01677, allocations: 4 kB / 262.2 MB, free: 7.656 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.01677, allocations: 0 / 262.2 MB, free: 7.656 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.01679, allocations: 12 kB / 262.3 MB, free: 7.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.0168, allocations: 3.984 kB / 262.3 MB, free: 7.641 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.0168, allocations: 3.938 kB / 262.3 MB, free: 7.637 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.0174, allocations: 0.7003 MB / 263 MB, free: 6.867 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.0177, allocations: 177.4 kB / 263.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.01775, allocations: 12.25 kB / 263.2 MB, free: 6.684 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.01788, allocations: 15.98 kB / 263.2 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.01798, allocations: 27.97 kB / 263.2 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.01803, allocations: 39.94 kB / 263.2 MB, free: 6.602 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004934/0.01852, allocations: 430.7 kB / 263.7 MB, free: 6.184 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01852, allocations: 0 / 263.7 MB, free: 6.184 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000284/0.01881, allocations: 47.94 kB / 263.7 MB, free: 6.137 MB / 250.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.0001527/0.01896, allocations: 119 kB / 263.8 MB, free: 6.008 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.01949, allocations: 0.5925 MB / 264.4 MB, free: 5.312 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.01949, allocations: 0 / 264.4 MB, free: 5.312 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.01975, allocations: 432 kB / 264.8 MB, free: 4.812 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.02048, allocations: 139.9 kB / 265 MB, free: 4.684 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.02154, allocations: 0.7555 MB / 265.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.02164, allocations: 95.27 kB / 265.8 MB, free: 3.766 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.493e-05/0.02168, allocations: 12.78 kB / 265.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.02171, allocations: 12.5 kB / 265.8 MB, free: 3.738 MB / 250.7 MB Notification: Performance of SimCode: time 1.233e-06/0.02171, allocations: 0 / 265.8 MB, free: 3.738 MB / 250.7 MB Notification: Performance of Templates: time 0.007818/0.02953, allocations: 4.932 MB / 270.8 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.083028545137495]