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.001261/0.001261, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001315/0.001315, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.437/1.437, allocations: 230.6 MB / 254.1 MB, free: 15.1 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 55.92 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, allocations: 53.32 MB / 426.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002815/0.1075, allocations: 1.545 MB / 427.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.1094, allocations: 0.881 MB / 428.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.725e-05/0.1095, allocations: 3.938 kB / 428.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.949e-05/0.1096, allocations: 7.938 kB / 428.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.735e-05/0.1097, allocations: 23.84 kB / 428.8 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.1099, allocations: 51.83 kB / 428.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.1101, allocations: 135.7 kB / 428.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.453e-05/0.1102, allocations: 11.98 kB / 429 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.1106, allocations: 407.2 kB / 429.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1108, allocations: 63.75 kB / 429.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.1108, allocations: 12 kB / 429.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.479e-05/0.1108, allocations: 11.94 kB / 429.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.271e-05/0.1109, allocations: 71.69 kB / 429.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.111, allocations: 111.2 kB / 429.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.1115, allocations: 362.4 kB / 430 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1115, allocations: 0 / 430 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1115, allocations: 0 / 430 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1115, allocations: 0 / 430 MB, free: 1.137 MB / 350.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.000909/0.1124, allocations: 0.7344 MB / 430.7 MB, free: 336 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1124, allocations: 8.031 kB / 430.7 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.317e-05/0.1125, allocations: 46.67 kB / 430.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.1126, allocations: 40.7 kB / 430.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.177/0.2895, allocations: 272 kB / 431.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.2895, allocations: 5.844 kB / 431.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.2896, allocations: 7.344 kB / 431.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.2899, allocations: 124.5 kB / 431.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.2899, allocations: 0.7969 kB / 431.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.2899, allocations: 4.375 kB / 431.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2899, allocations: 3.5 kB / 431.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.2901, allocations: 60.77 kB / 431.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.2907, allocations: 461.7 kB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.2908, allocations: 72.84 kB / 431.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.291, allocations: 62.14 kB / 431.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.291, allocations: 8.625 kB / 431.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003231/0.2913, allocations: 199.2 kB / 432.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.2913, allocations: 1.25 kB / 432.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007062/0.292, allocations: 475.6 kB / 432.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.2921, allocations: 172.8 kB / 432.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/0.2926, allocations: 0.5115 MB / 433.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2926, allocations: 33.27 kB / 433.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.2926, allocations: 98.69 kB / 433.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.2927, allocations: 30.64 kB / 433.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.2928, allocations: 84.33 kB / 433.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.985e-05/0.2928, allocations: 324.2 kB / 433.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.2929, allocations: 54.52 kB / 433.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.293, allocations: 77.72 kB / 433.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.2933, allocations: 340.5 kB / 434.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2933, allocations: 0 / 434.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004546/0.2937, allocations: 386 kB / 434.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/0.2938, allocations: 127.2 kB / 434.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2938, allocations: 3.062 kB / 434.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2938, allocations: 1.156 kB / 434.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.837e-05/0.2938, allocations: 1.219 kB / 434.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2938, allocations: 6.75 kB / 434.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.294, allocations: 17.08 kB / 434.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.294, allocations: 41.59 kB / 434.8 MB, free: 9.051 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.0002535/0.2943, allocations: 361.1 kB / 435.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.2943, allocations: 46.23 kB / 435.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.038e-05/0.2944, allocations: 63.23 kB / 435.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2944, allocations: 0 / 435.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2944, allocations: 1 kB / 435.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2944, allocations: 0 / 435.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007776/0.2952, allocations: 0.8207 MB / 436.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2952, allocations: 0 / 436.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-06/0.2952, allocations: 0 / 436.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2952, allocations: 1.156 kB / 436.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.2952, allocations: 16 kB / 436.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2952, allocations: 1.062 kB / 436.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2952, allocations: 0 / 436.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/0.2957, allocations: 0.5339 MB / 436.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.296, allocations: 248 kB / 436.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.296, allocations: 12.56 kB / 436.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.2962, allocations: 10.8 kB / 436.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.2962, allocations: 28.67 kB / 436.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.2963, allocations: 42.47 kB / 437 MB, free: 7.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003934/0.2967, allocations: 386.7 kB / 437.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2967, allocations: 2.734 kB / 437.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.297, allocations: 45.94 kB / 437.4 MB, free: 7.551 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.000736/0.2977, allocations: 1.087 MB / 438.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003808/0.2981, allocations: 377.6 kB / 438.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2981, allocations: 2.625 kB / 438.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.2983, allocations: 300 kB / 439.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006103/0.2989, allocations: 125.4 kB / 439.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.3018, allocations: 2.765 MB / 442 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.3021, allocations: 0.7995 MB / 442.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.839e-05/0.3021, allocations: 12.78 kB / 442.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.3022, allocations: 26.89 kB / 442.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3022, allocations: 96 / 442.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.3325, allocations: 5.928 MB / 448.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.356, allocations: 2.266 kB / 448.8 MB, free: 2.652 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --stepSize=0.00239569 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] 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: 10.701206362107769]