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.00208/0.00208, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002426/0.002426, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.503/1.503, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 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 1.493e-06/1.493e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.088e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002833/0.002863, allocations: 1.499 MB / 273.7 MB, free: 296 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.005095, allocations: 0.8341 MB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.005143, allocations: 0 / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.00525, allocations: 11.92 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.538e-05/0.005345, allocations: 27.72 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.00564, allocations: 51.88 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.005874, allocations: 135.7 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.005972, allocations: 19.97 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005718/0.006543, allocations: 415.2 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.006679, allocations: 63.75 kB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.006719, allocations: 8 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.168e-05/0.006751, allocations: 16 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.558e-05/0.006847, allocations: 63.77 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.765e-05/0.006944, allocations: 51.8 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.007393, allocations: 362.8 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.007396, allocations: 0 / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.007397, allocations: 0 / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.007402, allocations: 0 / 275.7 MB, free: 14.25 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.0008503/0.008252, allocations: 0.6474 MB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.008294, allocations: 15.98 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.008414, allocations: 48.7 kB / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.008732, allocations: 224 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.008755, allocations: 12.38 kB / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.008788, allocations: 8.375 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.009199, allocations: 241 kB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.009207, allocations: 192 / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.009232, allocations: 4.375 kB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.009239, allocations: 3.938 kB / 276.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.009499, allocations: 178.8 kB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006924/0.01019, allocations: 392.2 kB / 277.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.01048, allocations: 193.3 kB / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.01073, allocations: 183.7 kB / 277.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.01075, allocations: 3.938 kB / 277.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005176/0.01127, allocations: 337.3 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.01127, allocations: 0 / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001172/0.01244, allocations: 0.701 MB / 278.9 MB, free: 10.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.01257, allocations: 170.2 kB / 279.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007238/0.0133, allocations: 0.5169 MB / 279.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.01333, allocations: 29.7 kB / 279.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.01343, allocations: 105 kB / 279.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.01348, allocations: 31.83 kB / 279.7 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.01361, allocations: 85.52 kB / 279.8 MB, free: 9.746 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.0138, allocations: 322.8 kB / 280.1 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.01403, allocations: 174.8 kB / 280.3 MB, free: 9.227 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.01427, allocations: 192.5 kB / 280.5 MB, free: 9.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.01469, allocations: 351.2 kB / 280.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01469, allocations: 0 / 280.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007996/0.01549, allocations: 0.5069 MB / 281.3 MB, free: 8.047 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.01561, allocations: 126.8 kB / 281.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01561, allocations: 0 / 281.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.01563, allocations: 4.031 kB / 281.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.215e-05/0.01565, allocations: 3.938 kB / 281.5 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.01565, allocations: 0 / 281.5 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.01579, allocations: 15.98 kB / 281.5 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.01585, allocations: 40 kB / 281.5 MB, free: 7.836 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.0003997/0.01625, allocations: 358.7 kB / 281.9 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.461e-05/0.01634, allocations: 63.62 kB / 281.9 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.01644, allocations: 63.08 kB / 282 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01645, allocations: 4 kB / 282 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01645, allocations: 0 / 282 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.01645, allocations: 4 kB / 282 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.0176, allocations: 0.8666 MB / 282.9 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.0176, allocations: 0 / 282.9 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-06/0.0176, allocations: 0 / 282.9 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.0176, allocations: 0 / 282.9 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.01764, allocations: 16 kB / 282.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01764, allocations: 0 / 282.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01764, allocations: 0 / 282.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/0.01852, allocations: 0.6717 MB / 283.6 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.0189, allocations: 209.3 kB / 283.8 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.01896, allocations: 8.25 kB / 283.8 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.01911, allocations: 20 kB / 283.8 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.01922, allocations: 23.97 kB / 283.8 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.257e-05/0.01928, allocations: 47.92 kB / 283.9 MB, free: 5.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005303/0.01981, allocations: 386.9 kB / 284.2 MB, free: 4.941 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01981, allocations: 0 / 284.2 MB, free: 4.941 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.02012, allocations: 44 kB / 284.3 MB, free: 4.898 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.0001647/0.02028, allocations: 107 kB / 284.4 MB, free: 4.781 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007818/0.02107, allocations: 0.6202 MB / 285 MB, free: 4.062 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02107, allocations: 4.062 kB / 285 MB, free: 4.059 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.02154, allocations: 424.4 kB / 285.4 MB, free: 3.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.02223, allocations: 141.2 kB / 285.6 MB, free: 3.445 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.02356, allocations: 0.7938 MB / 286.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.02385, allocations: 193.7 kB / 286.6 MB, free: 2.387 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.953e-05/0.0239, allocations: 12.66 kB / 286.6 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.02394, allocations: 16.5 kB / 286.6 MB, free: 2.355 MB / 266.7 MB Notification: Performance of SimCode: time 1.011e-06/0.02394, allocations: 0 / 286.6 MB, free: 2.355 MB / 266.7 MB Notification: Performance of Templates: time 0.009874/0.03382, allocations: 4.919 MB / 291.5 MB, free: 13.44 MB / 282.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=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.500369021086954]