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.0006944/0.0006944, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001751, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006795/0.0006795, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009072/0.001587, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9211/0.9211, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09459/1.016, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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.202e-06/1.202e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.85e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002405/0.002423, allocations: 1.585 MB / 246.8 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.004136, allocations: 0.905 MB / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.00421, allocations: 7.938 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.48e-05/0.004284, allocations: 3.938 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.004355, allocations: 27.78 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.004574, allocations: 59.75 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.004768, allocations: 135.7 kB / 247.9 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.799e-05/0.004836, allocations: 11.98 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004901/0.005326, allocations: 403.2 kB / 248.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.005469, allocations: 59.81 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.005503, allocations: 8 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.912e-05/0.005533, allocations: 11.94 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.005601, allocations: 59.8 kB / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.005672, allocations: 55.78 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.005934, allocations: 247.1 kB / 248.8 MB, free: 9.988 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.005945, allocations: 0 / 248.8 MB, free: 9.988 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005946, allocations: 4 kB / 248.8 MB, free: 9.984 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.005956, allocations: 0 / 248.8 MB, free: 9.984 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.0007323/0.006688, allocations: 0.6691 MB / 249.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.006722, allocations: 8.625 kB / 249.4 MB, free: 9.258 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.00679, allocations: 32.91 kB / 249.5 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.006996, allocations: 212.1 kB / 249.7 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.007013, allocations: 12.25 kB / 249.7 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.007037, allocations: 12.38 kB / 249.7 MB, free: 8.969 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.00732, allocations: 229.6 kB / 249.9 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.007327, allocations: 192 / 249.9 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.007346, allocations: 12.38 kB / 249.9 MB, free: 8.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.007354, allocations: 7.938 kB / 250 MB, free: 8.691 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.007455, allocations: 150.8 kB / 250.1 MB, free: 8.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.007763, allocations: 208.2 kB / 250.3 MB, free: 8.301 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.007902, allocations: 173.3 kB / 250.5 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.008128, allocations: 159.7 kB / 250.6 MB, free: 7.914 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-06/0.008134, allocations: 4 kB / 250.6 MB, free: 7.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.008355, allocations: 309.3 kB / 250.9 MB, free: 7.559 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.008356, allocations: 4 kB / 250.9 MB, free: 7.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000414/0.00877, allocations: 0.5293 MB / 251.5 MB, free: 6.945 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.008843, allocations: 182.1 kB / 251.6 MB, free: 6.73 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.009202, allocations: 367.1 kB / 252 MB, free: 6.359 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.009224, allocations: 25.7 kB / 252 MB, free: 6.328 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.009268, allocations: 97.11 kB / 252.1 MB, free: 6.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.009303, allocations: 27.78 kB / 252.2 MB, free: 6.203 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.83e-05/0.009391, allocations: 77.48 kB / 252.2 MB, free: 6.121 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.009474, allocations: 322.8 kB / 252.5 MB, free: 5.797 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.009578, allocations: 158.8 kB / 252.7 MB, free: 5.617 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.009683, allocations: 168.5 kB / 252.9 MB, free: 5.422 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.00988, allocations: 327.3 kB / 253.2 MB, free: 5.047 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.009882, allocations: 0 / 253.2 MB, free: 5.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000266/0.01015, allocations: 371 kB / 253.5 MB, free: 4.633 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-05/0.01022, allocations: 126.7 kB / 253.7 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01023, allocations: 4 kB / 253.7 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.01024, allocations: 0 / 253.7 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.687e-05/0.01026, allocations: 0 / 253.7 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.01027, allocations: 4.031 kB / 253.7 MB, free: 4.477 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.01037, allocations: 15.98 kB / 253.7 MB, free: 4.461 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.01042, allocations: 40.05 kB / 253.7 MB, free: 4.422 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.0006025/0.01102, allocations: 341.4 kB / 254.1 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.01107, allocations: 35.91 kB / 254.1 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.01118, allocations: 59.08 kB / 254.2 MB, free: 3.965 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01118, allocations: 0 / 254.2 MB, free: 3.965 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.01118, allocations: 3.938 kB / 254.2 MB, free: 3.961 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01119, allocations: 0 / 254.2 MB, free: 3.961 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.01171, allocations: 0.6056 MB / 254.8 MB, free: 3.281 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01172, allocations: 0 / 254.8 MB, free: 3.281 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-06/0.01172, allocations: 0 / 254.8 MB, free: 3.281 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.01195, allocations: 143.4 kB / 254.9 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01195, allocations: 0 / 254.9 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.01197, allocations: 7.984 kB / 254.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01197, allocations: 0 / 254.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01197, allocations: 4.188 kB / 254.9 MB, free: 3.129 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.01232, allocations: 0.5009 MB / 255.4 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.01236, allocations: 16 kB / 255.4 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.01247, allocations: 12 kB / 255.4 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.01253, allocations: 19.97 kB / 255.5 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.01257, allocations: 43.92 kB / 255.5 MB, free: 2.473 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001845/0.01275, allocations: 156.6 kB / 255.7 MB, free: 2.316 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01275, allocations: 0 / 255.7 MB, free: 2.316 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.01299, allocations: 48 kB / 255.7 MB, free: 2.27 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.0001296/0.01312, allocations: 84.42 kB / 255.8 MB, free: 2.18 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004004/0.01352, allocations: 0.5741 MB / 256.4 MB, free: 1.504 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.01353, allocations: 8.031 kB / 256.4 MB, free: 1.496 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.01376, allocations: 416.1 kB / 256.8 MB, free: 1.012 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.01426, allocations: 381.5 kB / 257.2 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.01532, allocations: 0.7535 MB / 257.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.277e-05/0.0154, allocations: 95.27 kB / 258 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.655e-05/0.01544, allocations: 12.7 kB / 258 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.01574, allocations: 155.7 kB / 258.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01574, allocations: 0 / 258.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of Templates: time 0.006943/0.02268, allocations: 4.456 MB / 262.6 MB, free: 11.05 MB / 266.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.559646960347891]