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.001481/0.001481, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001663/0.001663, allocations: 205.2 kB / 23.72 MB, free: 4.391 MB / 14.72 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.497/1.497, allocations: 230.5 MB / 257.4 MB, free: 7.707 MB / 206.1 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.89 kB / 377.7 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2799, allocations: 53.42 MB / 431.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002935/0.2829, allocations: 1.486 MB / 432.6 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.2849, allocations: 0.8342 MB / 433.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.285, allocations: 0 / 433.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.582e-05/0.2851, allocations: 11.86 kB / 433.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.792e-05/0.2852, allocations: 23.84 kB / 433.5 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.2854, allocations: 51.89 kB / 433.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.2857, allocations: 135.7 kB / 433.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.2858, allocations: 23.95 kB / 433.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.2863, allocations: 399.3 kB / 434.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.2864, allocations: 63.64 kB / 434.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.2865, allocations: 12 kB / 434.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.604e-05/0.2865, allocations: 8 kB / 434.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.7e-05/0.2866, allocations: 63.77 kB / 434.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.2867, allocations: 83.34 kB / 434.3 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.2871, allocations: 364.1 kB / 434.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2871, allocations: 4 kB / 434.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2871, allocations: 0 / 434.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2871, allocations: 0 / 434.7 MB, free: 2.816 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.00084/0.2879, allocations: 0.6629 MB / 435.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.288, allocations: 11.98 kB / 435.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.257e-05/0.288, allocations: 42.73 kB / 435.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.2881, allocations: 40.7 kB / 435.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.2884, allocations: 208.9 kB / 435.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.2884, allocations: 12.38 kB / 435.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.2885, allocations: 8.312 kB / 435.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.2888, allocations: 252.5 kB / 435.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2888, allocations: 0 / 435.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.2889, allocations: 8 kB / 435.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2889, allocations: 0 / 435.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.2891, allocations: 174.8 kB / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007026/0.2898, allocations: 419.5 kB / 436.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.2901, allocations: 193.3 kB / 436.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.2903, allocations: 175.7 kB / 436.9 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.2903, allocations: 0 / 436.9 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004409/0.2907, allocations: 321.5 kB / 437.2 MB, free: 28 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.2907, allocations: 0 / 437.2 MB, free: 28 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000996/0.2917, allocations: 0.701 MB / 437.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.922e-05/0.2918, allocations: 170.2 kB / 438 MB, free: 15.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000684/0.2925, allocations: 0.5246 MB / 438.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.2925, allocations: 29.7 kB / 438.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.2926, allocations: 93.14 kB / 438.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.2926, allocations: 27.84 kB / 438.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.2928, allocations: 85.52 kB / 438.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2929, allocations: 322.8 kB / 439.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.2931, allocations: 182.7 kB / 439.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.2933, allocations: 188.5 kB / 439.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.2937, allocations: 350.5 kB / 439.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.2937, allocations: 7.984 kB / 439.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006319/0.2943, allocations: 0.4913 MB / 440.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.899e-05/0.2944, allocations: 118.8 kB / 440.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2944, allocations: 0 / 440.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2944, allocations: 4 kB / 440.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.989e-05/0.2944, allocations: 3.984 kB / 440.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2944, allocations: 0 / 440.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.2946, allocations: 15.95 kB / 440.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.23e-05/0.2946, allocations: 43.98 kB / 440.5 MB, free: 12.36 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.0003504/0.295, allocations: 362.3 kB / 440.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.779e-05/0.2951, allocations: 39.88 kB / 440.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.2952, allocations: 71.03 kB / 441 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2952, allocations: 3.938 kB / 441 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2952, allocations: 0 / 441 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2952, allocations: 0 / 441 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.2963, allocations: 0.8856 MB / 441.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2963, allocations: 192 / 441.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-06/0.2963, allocations: 4 kB / 441.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2963, allocations: 4 kB / 441.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.2963, allocations: 19.92 kB / 441.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2963, allocations: 4 kB / 441.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2963, allocations: 3.938 kB / 441.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007563/0.2971, allocations: 0.6531 MB / 442.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.2975, allocations: 201.4 kB / 442.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.2975, allocations: 8 kB / 442.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2977, allocations: 15.98 kB / 442.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.2978, allocations: 23.91 kB / 442.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.2978, allocations: 47.94 kB / 442.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004913/0.2983, allocations: 390.9 kB / 443.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2983, allocations: 0 / 443.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.2986, allocations: 44 kB / 443.2 MB, free: 9.41 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.001123/0.2997, allocations: 1.209 MB / 444.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006694/0.3004, allocations: 0.6046 MB / 445.1 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3004, allocations: 0 / 445.1 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.3008, allocations: 424.3 kB / 445.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.3015, allocations: 126.5 kB / 445.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.3056, allocations: 3.351 MB / 449 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.3058, allocations: 197.7 kB / 449.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.84e-05/0.3059, allocations: 8.656 kB / 449.2 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.306, allocations: 31.42 kB / 449.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.306, allocations: 0 / 449.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03785/0.3438, allocations: 6.935 MB / 456.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.42, allocations: 11.91 kB / 456.1 MB, free: 12.11 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --stepSize=0.00239569 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_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: 13.937552625779063]