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.001308/0.001308, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001498/0.001498, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.412/1.412, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.001529/0.001529, allocations: 51.91 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.223, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.004208/0.2272, allocations: 1.491 MB / 433.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003355/0.2306, allocations: 0.8264 MB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.2307, allocations: 8 kB / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.2308, allocations: 11.86 kB / 434.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.2309, allocations: 23.84 kB / 434.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.2313, allocations: 51.89 kB / 434.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.2316, allocations: 135.7 kB / 434.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.2317, allocations: 19.97 kB / 434.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007824/0.2325, allocations: 403.2 kB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.2327, allocations: 63.77 kB / 435.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.2327, allocations: 8 kB / 435.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.748e-05/0.2328, allocations: 12 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.2329, allocations: 67.7 kB / 435.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.2331, allocations: 83.34 kB / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006323/0.2337, allocations: 361.2 kB / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.2337, allocations: 0 / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2337, allocations: 3.938 kB / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2337, allocations: 0 / 435.9 MB, free: 3.148 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.001261/0.235, allocations: 0.6591 MB / 436.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.235, allocations: 8.031 kB / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.2351, allocations: 40.7 kB / 436.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.2356, allocations: 224.8 kB / 436.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.2356, allocations: 12.31 kB / 436.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.2357, allocations: 8.375 kB / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.2363, allocations: 240.7 kB / 437.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2363, allocations: 0 / 437.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/0.2364, allocations: 8 kB / 437.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2364, allocations: 0 / 437.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.2368, allocations: 178.8 kB / 437.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.2378, allocations: 384.1 kB / 437.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.2382, allocations: 193.3 kB / 437.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.2386, allocations: 179.7 kB / 438 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.2386, allocations: 4 kB / 438 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007269/0.2393, allocations: 321.4 kB / 438.3 MB, free: 460 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.424e-06/0.2393, allocations: 0 / 438.3 MB, free: 460 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001685/0.241, allocations: 0.6971 MB / 439 MB, free: 15.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/0.2412, allocations: 166.2 kB / 439.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.2424, allocations: 0.5207 MB / 439.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.2424, allocations: 29.7 kB / 439.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2425, allocations: 101.1 kB / 439.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.177e-05/0.2426, allocations: 23.8 kB / 439.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.2428, allocations: 85.45 kB / 439.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.243, allocations: 326.8 kB / 440.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.2434, allocations: 178.8 kB / 440.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.2437, allocations: 195 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.2444, allocations: 358.5 kB / 441 MB, free: 13.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2444, allocations: 0 / 441 MB, free: 13.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001088/0.2455, allocations: 495.1 kB / 441.4 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.2456, allocations: 126.8 kB / 441.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.2456, allocations: 3.984 kB / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2456, allocations: 112 / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.856e-05/0.2457, allocations: 16.09 kB / 441.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2457, allocations: 0 / 441.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.2459, allocations: 11.95 kB / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.704e-05/0.246, allocations: 43.98 kB / 441.6 MB, free: 12.78 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.0005883/0.2466, allocations: 370.2 kB / 442 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.279e-05/0.2467, allocations: 39.77 kB / 442 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.2469, allocations: 63.08 kB / 442.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2469, allocations: 0 / 442.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2469, allocations: 0 / 442.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006818/0.2475, allocations: 205.4 kB / 442.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.181e-05/0.2476, allocations: 16 kB / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.2478, allocations: 8 kB / 442.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.248, allocations: 31.91 kB / 442.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001403/0.2494, allocations: 0.8165 MB / 443.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001345/0.2507, allocations: 0.7227 MB / 443.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000406/0.2511, allocations: 194.8 kB / 444.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000844/0.252, allocations: 386.9 kB / 444.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of Backend: time 5.81e-07/0.252, allocations: 0 / 444.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.2532, allocations: 0.491 MB / 445 MB, free: 9.156 MB / 350.1 MB Notification: Performance of SimCode: time 0.002375/0.2556, allocations: 1.33 MB / 446.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of Templates: time 0.01307/0.2686, allocations: 4.436 MB / 450.7 MB, free: 3.301 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: 4.209001189999981]