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.00147/0.00147, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002232/0.002232, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.491/1.491, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.194e-06/2.194e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.163e-05/3.382e-05, allocations: 3.375 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.0043/0.004334, allocations: 1.49 MB / 326.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003523/0.007857, allocations: 0.8324 MB / 327.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.384e-05/0.007951, allocations: 2.656 kB / 327.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.008068, allocations: 10.92 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.008196, allocations: 20.72 kB / 327.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.008593, allocations: 51.61 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.00892, allocations: 140.9 kB / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.00903, allocations: 16.86 kB / 327.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008353/0.009865, allocations: 418.5 kB / 328 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.01005, allocations: 62.25 kB / 328 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.836e-05/0.01011, allocations: 7.719 kB / 328.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.806e-05/0.01015, allocations: 9.219 kB / 328.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.01028, allocations: 70.33 kB / 328.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.01042, allocations: 50.44 kB / 328.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007038/0.01112, allocations: 362.6 kB / 328.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.01113, allocations: 0 / 328.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01113, allocations: 0 / 328.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.01114, allocations: 4.969 kB / 328.5 MB, free: 14.54 MB / 302.1 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.001268/0.01241, allocations: 0.6571 MB / 329.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.01245, allocations: 13.81 kB / 329.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.01256, allocations: 38.92 kB / 329.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.013, allocations: 217.8 kB / 329.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.01302, allocations: 5 kB / 329.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.01307, allocations: 7.938 kB / 329.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/0.01365, allocations: 241.3 kB / 329.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.01367, allocations: 4.125 kB / 329.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.0137, allocations: 8.797 kB / 329.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.01372, allocations: 7.922 kB / 329.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003646/0.01408, allocations: 177.6 kB / 329.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.01511, allocations: 396 kB / 330.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.01553, allocations: 192 kB / 330.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.01588, allocations: 181.2 kB / 330.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.01589, allocations: 3.938 kB / 330.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007155/0.01661, allocations: 330.4 kB / 331 MB, free: 12.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.01661, allocations: 1.156 kB / 331 MB, free: 12.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001619/0.01823, allocations: 0.6989 MB / 331.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.01841, allocations: 173.6 kB / 331.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.01963, allocations: 0.5124 MB / 332.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.01969, allocations: 30.2 kB / 332.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.0198, allocations: 104.5 kB / 332.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/0.01987, allocations: 27.78 kB / 332.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.02009, allocations: 83.31 kB / 332.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.02033, allocations: 326.4 kB / 332.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.02067, allocations: 176 kB / 333.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.02106, allocations: 195.4 kB / 333.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.02171, allocations: 355 kB / 333.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02171, allocations: 4 kB / 333.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001109/0.02282, allocations: 0.4994 MB / 334.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.02298, allocations: 125.1 kB / 334.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.02299, allocations: 0.875 kB / 334.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.02301, allocations: 0.9688 kB / 334.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.871e-05/0.02304, allocations: 4.969 kB / 334.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.02304, allocations: 0.9375 kB / 334.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.02328, allocations: 13.98 kB / 334.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.732e-05/0.02337, allocations: 39.44 kB / 334.3 MB, free: 9.59 MB / 302.1 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.0006888/0.02406, allocations: 364 kB / 334.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.02416, allocations: 43.64 kB / 334.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.02437, allocations: 67.83 kB / 334.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02438, allocations: 1 kB / 334.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.02438, allocations: 1.031 kB / 334.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.02439, allocations: 0 / 334.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.02624, allocations: 0.8701 MB / 335.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.02625, allocations: 5.359 kB / 335.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-06/0.02626, allocations: 0 / 335.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.02626, allocations: 1.375 kB / 335.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.0263, allocations: 13.12 kB / 335.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.0263, allocations: 1.844 kB / 335.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.02631, allocations: 7.938 kB / 335.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.02759, allocations: 0.657 MB / 336.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006895/0.02828, allocations: 213.9 kB / 336.5 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.02838, allocations: 12.12 kB / 336.6 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.02863, allocations: 8.656 kB / 336.6 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.02879, allocations: 26.44 kB / 336.6 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.48e-05/0.02887, allocations: 42.44 kB / 336.6 MB, free: 7.766 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000878/0.02975, allocations: 391.3 kB / 337 MB, free: 7.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02975, allocations: 0 / 337 MB, free: 7.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005364/0.03029, allocations: 50 kB / 337.1 MB, free: 7.508 MB / 302.1 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.0002045/0.03049, allocations: 113.5 kB / 337.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.03161, allocations: 0.6073 MB / 337.8 MB, free: 6.809 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.03161, allocations: 0 / 337.8 MB, free: 6.809 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006442/0.03226, allocations: 427.1 kB / 338.2 MB, free: 6.375 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.03337, allocations: 130.7 kB / 338.3 MB, free: 6.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.03568, allocations: 0.7783 MB / 339.1 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.03622, allocations: 190.1 kB / 339.3 MB, free: 5.602 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.03632, allocations: 9.375 kB / 339.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.03636, allocations: 17.44 kB / 339.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of SimCode: time 7.91e-07/0.03636, allocations: 0 / 339.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of Templates: time 0.01544/0.0518, allocations: 4.907 MB / 344.2 MB, free: 0.8398 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.536828048527241]