Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001593/0.001593, allocations: 115.3 kB / 21.17 MB, free: 0.7812 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.001791/0.001791, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.517/1.517, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 79.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2731, allocations: 53.32 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002836/0.2759, allocations: 1.545 MB / 433.6 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.2779, allocations: 0.8887 MB / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.845e-05/0.278, allocations: 4 kB / 434.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.888e-05/0.2781, allocations: 11.86 kB / 434.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.609e-05/0.2782, allocations: 11.88 kB / 434.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.2784, allocations: 55.86 kB / 434.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.2787, allocations: 139.7 kB / 434.7 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2788, allocations: 12 kB / 434.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004988/0.2793, allocations: 399.2 kB / 435.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.2794, allocations: 71.73 kB / 435.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.2794, allocations: 8 kB / 435.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.153e-05/0.2795, allocations: 12 kB / 435.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.2796, allocations: 67.64 kB / 435.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.2797, allocations: 111.2 kB / 435.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.2801, allocations: 360 kB / 435.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2801, allocations: 0 / 435.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2801, allocations: 0 / 435.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.2801, allocations: 7.938 kB / 435.7 MB, free: 3.688 MB / 334.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.0008088/0.2809, allocations: 0.7228 MB / 436.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.281, allocations: 12.03 kB / 436.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.573e-05/0.281, allocations: 44.62 kB / 436.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.2814, allocations: 274.7 kB / 436.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.2814, allocations: 12.31 kB / 436.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.2814, allocations: 8.375 kB / 436.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.2817, allocations: 133.9 kB / 436.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2818, allocations: 0 / 436.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.2818, allocations: 8 kB / 436.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2818, allocations: 0 / 436.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.2819, allocations: 59.91 kB / 437 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007094/0.2826, allocations: 460.5 kB / 437.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.2828, allocations: 78.48 kB / 437.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.283, allocations: 56.88 kB / 437.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.283, allocations: 12 kB / 437.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/0.2833, allocations: 194.7 kB / 437.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.2833, allocations: 0 / 437.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008109/0.2841, allocations: 472.2 kB / 438.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.2842, allocations: 166.2 kB / 438.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006454/0.2849, allocations: 0.5169 MB / 438.9 MB, free: 216 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.2849, allocations: 29.7 kB / 438.9 MB, free: 180 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.285, allocations: 101.1 kB / 439 MB, free: 76 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.285, allocations: 31.78 kB / 439.1 MB, free: 44 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.2852, allocations: 85.81 kB / 439.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2853, allocations: 330.5 kB / 439.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.2854, allocations: 55.97 kB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.2856, allocations: 77.66 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.2859, allocations: 346.2 kB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2859, allocations: 4.062 kB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005408/0.2865, allocations: 376.3 kB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.2866, allocations: 126.8 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2866, allocations: 0 / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2866, allocations: 0 / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.573e-05/0.2866, allocations: 4 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2866, allocations: 0 / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.2868, allocations: 11.98 kB / 440.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.2868, allocations: 44.03 kB / 440.5 MB, free: 14.48 MB / 350.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.0003571/0.2872, allocations: 362.2 kB / 440.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.2872, allocations: 43.77 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.2873, allocations: 63.16 kB / 441 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2873, allocations: 0 / 441 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2874, allocations: 3.984 kB / 441 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2874, allocations: 3.984 kB / 441 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.2884, allocations: 0.8133 MB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2884, allocations: 4 kB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-06/0.2884, allocations: 4 kB / 441.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2884, allocations: 3.938 kB / 441.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.2884, allocations: 8 kB / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2884, allocations: 7.969 kB / 441.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2884, allocations: 3.938 kB / 441.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006606/0.2891, allocations: 0.5215 MB / 442.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.2894, allocations: 252.6 kB / 442.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.2895, allocations: 16 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.2896, allocations: 15.88 kB / 442.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.2897, allocations: 23.91 kB / 442.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/0.2898, allocations: 55.91 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004647/0.2902, allocations: 386.9 kB / 443.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2902, allocations: 0 / 443.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.2905, allocations: 40 kB / 443.1 MB, free: 11.71 MB / 350.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.0001533/0.2907, allocations: 119.2 kB / 443.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005103/0.2912, allocations: 377.5 kB / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2912, allocations: 0 / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.2915, allocations: 301.5 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.2921, allocations: 127.3 kB / 444 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2932, allocations: 0.7056 MB / 444.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.2937, allocations: 0.8107 MB / 445.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.2938, allocations: 11.44 kB / 445.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2938, allocations: 0 / 445.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of Templates: time 0.004772/0.2985, allocations: 2.579 MB / 448.1 MB, free: 6.523 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.492995110340416]