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.001516/0.001516, allocations: 112.5 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001679/0.001679, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 7.961 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+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 0.001578/0.001578, allocations: 43.92 kB / 379 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2276, allocations: 53.37 MB / 432.4 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002917/0.2306, allocations: 1.538 MB / 433.9 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.2327, allocations: 0.8965 MB / 434.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.2328, allocations: 4 kB / 434.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.2329, allocations: 7.922 kB / 434.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.233, allocations: 23.8 kB / 434.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.2334, allocations: 55.81 kB / 434.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.2337, allocations: 135.7 kB / 435 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.2338, allocations: 19.98 kB / 435.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005707/0.2343, allocations: 391.3 kB / 435.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.2345, allocations: 79.73 kB / 435.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.2346, allocations: 8 kB / 435.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.788e-05/0.2346, allocations: 15.94 kB / 435.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.2347, allocations: 63.7 kB / 435.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.2349, allocations: 111.2 kB / 435.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.2353, allocations: 364.7 kB / 436.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2353, allocations: 0 / 436.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2353, allocations: 0 / 436.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.2353, allocations: 4 kB / 436.1 MB, free: 3.176 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.0009445/0.2363, allocations: 0.6513 MB / 436.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2363, allocations: 12.03 kB / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.2364, allocations: 36.7 kB / 436.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.2367, allocations: 224.8 kB / 437 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.2367, allocations: 8.375 kB / 437 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.2368, allocations: 8.375 kB / 437 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.2371, allocations: 121.9 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2371, allocations: 0 / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.2371, allocations: 4 kB / 437.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2371, allocations: 0 / 437.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.2373, allocations: 59.91 kB / 437.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.238, allocations: 443.5 kB / 437.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.2382, allocations: 74.48 kB / 437.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.2383, allocations: 56.89 kB / 437.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.2383, allocations: 0 / 437.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000377/0.2387, allocations: 202.7 kB / 438 MB, free: 1.133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2387, allocations: 0 / 438 MB, free: 1.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008094/0.2395, allocations: 472.2 kB / 438.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.2396, allocations: 170.3 kB / 438.6 MB, free: 448 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006876/0.2403, allocations: 0.5168 MB / 439.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.2404, allocations: 33.7 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.2404, allocations: 97.12 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.2405, allocations: 23.84 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.2406, allocations: 89.5 kB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2408, allocations: 330.8 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.2409, allocations: 51.97 kB / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.241, allocations: 75.94 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.2414, allocations: 343.1 kB / 440.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2414, allocations: 0 / 440.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005573/0.2419, allocations: 380.2 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.2421, allocations: 126.8 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2421, allocations: 0 / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2421, allocations: 0 / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-05/0.2421, allocations: 4.125 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.2421, allocations: 0 / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.2423, allocations: 19.94 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.2423, allocations: 40 kB / 440.7 MB, free: 14.2 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.0003821/0.2427, allocations: 358.3 kB / 441 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.2428, allocations: 43.77 kB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.2429, allocations: 71.06 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2429, allocations: 0 / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.2429, allocations: 4 kB / 441.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2429, allocations: 0 / 441.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.2439, allocations: 0.7812 MB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2439, allocations: 0 / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-06/0.2439, allocations: 0 / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.244, allocations: 0 / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.244, allocations: 19.98 kB / 441.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.244, allocations: 0 / 441.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.244, allocations: 3.938 kB / 441.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.2447, allocations: 0.5331 MB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.2451, allocations: 213.2 kB / 442.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.2451, allocations: 4 kB / 442.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.2453, allocations: 16 kB / 442.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.2454, allocations: 23.91 kB / 442.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.2454, allocations: 55.92 kB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000488/0.2459, allocations: 386.9 kB / 443.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2459, allocations: 0 / 443.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.2462, allocations: 40 kB / 443.2 MB, free: 11.52 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.000138/0.2464, allocations: 115 kB / 443.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004952/0.2468, allocations: 369.7 kB / 443.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2469, allocations: 3.938 kB / 443.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.2471, allocations: 305.6 kB / 444 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.2478, allocations: 127 kB / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.2489, allocations: 0.7017 MB / 444.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.2494, allocations: 0.8028 MB / 445.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.2494, allocations: 11.44 kB / 445.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2494, allocations: 0 / 445.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of Templates: time 0.004715/0.2541, allocations: 2.555 MB / 448.2 MB, free: 6.375 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/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: 7.211321304785088]