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.001569/0.001569, allocations: 114.3 kB / 21.18 MB, free: 0.6211 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.001855/0.001855, allocations: 212.9 kB / 24.48 MB, free: 4.031 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.417/1.417, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.001965/0.001965, allocations: 71.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2167, allocations: 53.31 MB / 432.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002637/0.2193, allocations: 1.544 MB / 433.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.2212, allocations: 0.8888 MB / 434.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.2213, allocations: 0 / 434.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.458e-05/0.2213, allocations: 15.86 kB / 434.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.951e-05/0.2214, allocations: 15.86 kB / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.2217, allocations: 55.88 kB / 434.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.2219, allocations: 135.7 kB / 434.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.222, allocations: 12 kB / 434.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004633/0.2224, allocations: 403.2 kB / 435.1 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.2226, allocations: 71.62 kB / 435.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.2226, allocations: 12 kB / 435.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.807e-05/0.2226, allocations: 8 kB / 435.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.717e-05/0.2227, allocations: 67.7 kB / 435.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.2228, allocations: 115.2 kB / 435.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.2232, allocations: 360.5 kB / 435.7 MB, free: 3.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2232, allocations: 3.938 kB / 435.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2232, allocations: 0 / 435.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2232, allocations: 0 / 435.7 MB, free: 3.715 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.0008004/0.224, allocations: 0.7383 MB / 436.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2241, allocations: 8.031 kB / 436.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.2241, allocations: 40.7 kB / 436.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.2244, allocations: 274.7 kB / 436.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.2245, allocations: 8.375 kB / 436.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.2245, allocations: 8.375 kB / 436.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.2248, allocations: 129.8 kB / 436.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.2248, allocations: 0 / 436.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.2248, allocations: 7.984 kB / 436.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.2248, allocations: 0 / 436.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.225, allocations: 59.97 kB / 437 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/0.2256, allocations: 460.5 kB / 437.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.2258, allocations: 74.48 kB / 437.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.226, allocations: 60.89 kB / 437.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.226, allocations: 3.984 kB / 437.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00033/0.2263, allocations: 202.7 kB / 437.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.2263, allocations: 0 / 437.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008146/0.2271, allocations: 476.2 kB / 438.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.2272, allocations: 166.2 kB / 438.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006387/0.2279, allocations: 0.513 MB / 438.9 MB, free: 244 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.2279, allocations: 29.7 kB / 438.9 MB, free: 208 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.228, allocations: 101.2 kB / 439 MB, free: 104 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.228, allocations: 35.72 kB / 439.1 MB, free: 68 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.2281, allocations: 89.52 kB / 439.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2283, allocations: 322.8 kB / 439.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.2284, allocations: 55.97 kB / 439.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.2285, allocations: 77.67 kB / 439.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.2289, allocations: 341.8 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2289, allocations: 4 kB / 440 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005425/0.2294, allocations: 380.3 kB / 440.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-05/0.2295, allocations: 122.8 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2295, allocations: 4 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2295, allocations: 0 / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.647e-05/0.2296, allocations: 3.938 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.2296, allocations: 0 / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.2297, allocations: 19.94 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.2298, allocations: 40 kB / 440.5 MB, free: 14.51 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.0003512/0.2301, allocations: 370.3 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.2302, allocations: 35.81 kB / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.803e-05/0.2303, allocations: 59.16 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2303, allocations: 0 / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2303, allocations: 3.984 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.2306, allocations: 244.6 kB / 441.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/0.2307, allocations: 12 kB / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2308, allocations: 15.88 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/0.2309, allocations: 27.95 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007383/0.2316, allocations: 0.6966 MB / 442 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006933/0.2323, allocations: 0.5974 MB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001576/0.2325, allocations: 79.89 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004874/0.2329, allocations: 386.9 kB / 443 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Backend: time 3.81e-07/0.2329, allocations: 4 kB / 443 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000653/0.2336, allocations: 383.9 kB / 443.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of SimCode: time 0.001456/0.2351, allocations: 1.334 MB / 444.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of Templates: time 0.007351/0.2424, allocations: 4.011 MB / 448.7 MB, free: 5.941 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: 4.12535756919533]