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.001918/0.001918, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002031/0.002031, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.566/1.566, allocations: 177.2 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.465e-06/2.465e-06, allocations: 0 / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.502e-05/3.748e-05, allocations: 6.25 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.005154/0.005191, allocations: 1.517 MB / 273.8 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003874/0.009066, allocations: 0.842 MB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.004e-05/0.009136, allocations: 0 / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.00927, allocations: 11.86 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.009407, allocations: 27.78 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.009838, allocations: 51.88 kB / 274.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.01019, allocations: 135.7 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.01033, allocations: 23.97 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009777/0.0113, allocations: 411.2 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.01151, allocations: 55.83 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.712e-05/0.01159, allocations: 11.94 kB / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.857e-05/0.01167, allocations: 12 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.01182, allocations: 67.7 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.01198, allocations: 51.8 kB / 275.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007624/0.01274, allocations: 366.8 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.01275, allocations: 0 / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01275, allocations: 0 / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.01276, allocations: 0 / 275.9 MB, free: 14.27 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.001611/0.01437, allocations: 0.8016 MB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.01443, allocations: 16.02 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.01461, allocations: 48.7 kB / 276.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.01511, allocations: 214.9 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/0.01515, allocations: 8.375 kB / 277 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.0152, allocations: 8.375 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.01589, allocations: 252.9 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.0159, allocations: 4.188 kB / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.01594, allocations: 4.375 kB / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.01595, allocations: 3.938 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.0164, allocations: 182.8 kB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.01801, allocations: 0.5423 MB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.01857, allocations: 213.8 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/0.019, allocations: 190.5 kB / 278.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.01902, allocations: 3.938 kB / 278.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007534/0.01977, allocations: 343.1 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 8.055e-06/0.01978, allocations: 3.984 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.002063/0.02184, allocations: 0.7244 MB / 279.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002019/0.02204, allocations: 170.2 kB / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.024, allocations: 0.6936 MB / 280.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.415e-05/0.02407, allocations: 33.7 kB / 280.3 MB, free: 9.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.02426, allocations: 151.8 kB / 280.4 MB, free: 9.258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.02434, allocations: 31.78 kB / 280.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.02459, allocations: 99.16 kB / 280.6 MB, free: 9.121 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004147/0.02501, allocations: 0.4923 MB / 281.1 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.02543, allocations: 182.8 kB / 281.2 MB, free: 8.414 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.02586, allocations: 206.1 kB / 281.4 MB, free: 8.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007683/0.02663, allocations: 363.7 kB / 281.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.02664, allocations: 0 / 281.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001364/0.028, allocations: 0.5147 MB / 282.3 MB, free: 7.199 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.0282, allocations: 126.8 kB / 282.4 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.02821, allocations: 0 / 282.4 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.02823, allocations: 0 / 282.4 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.425e-05/0.02826, allocations: 4.125 kB / 282.4 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.02827, allocations: 4.078 kB / 282.4 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.02851, allocations: 16.02 kB / 282.5 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.02863, allocations: 47.98 kB / 282.5 MB, free: 6.98 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.0007149/0.02934, allocations: 393.2 kB / 282.9 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.02949, allocations: 51.81 kB / 282.9 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.02967, allocations: 55.03 kB / 283 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.02968, allocations: 0 / 283 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.02968, allocations: 0 / 283 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.02969, allocations: 0 / 283 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.0322, allocations: 1.038 MB / 284 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.03221, allocations: 0 / 284 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.03222, allocations: 7.984 kB / 284 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.03222, allocations: 0 / 284 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.03228, allocations: 16 kB / 284.1 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.03228, allocations: 0 / 284.1 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.03228, allocations: 0 / 284.1 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.03385, allocations: 0.7355 MB / 284.8 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007131/0.03456, allocations: 189.3 kB / 285 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.463e-05/0.03466, allocations: 12 kB / 285 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.03492, allocations: 11.98 kB / 285 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.0351, allocations: 31.95 kB / 285 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.03521, allocations: 47.94 kB / 285.1 MB, free: 4.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001135/0.03635, allocations: 458.7 kB / 285.5 MB, free: 3.773 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.03635, allocations: 0 / 285.5 MB, free: 3.773 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005571/0.0369, allocations: 40 kB / 285.6 MB, free: 3.734 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.0002366/0.03714, allocations: 115.1 kB / 285.7 MB, free: 3.609 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.03854, allocations: 0.6622 MB / 286.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.03854, allocations: 0 / 286.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007931/0.03933, allocations: 467.9 kB / 286.8 MB, free: 2.316 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.04049, allocations: 135.4 kB / 286.9 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.04275, allocations: 0.772 MB / 287.7 MB, free: 1.363 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.04322, allocations: 177.7 kB / 287.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.142e-05/0.04329, allocations: 12.7 kB / 287.9 MB, free: 1.156 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.04334, allocations: 20.44 kB / 287.9 MB, free: 1.137 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.04334, allocations: 0 / 287.9 MB, free: 1.137 MB / 266.7 MB Notification: Performance of Templates: time 0.01724/0.06058, allocations: 4.916 MB / 292.8 MB, free: 12.23 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.52286303602159]