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.001381/0.001381, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00146/0.00146, allocations: 209.2 kB / 23.73 MB, free: 4.523 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001544/0.001544, allocations: 51.94 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3054, allocations: 53.37 MB / 431.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003076/0.3085, allocations: 1.487 MB / 432.6 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.3104, allocations: 0.8381 MB / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.3105, allocations: 0 / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.3107, allocations: 11.86 kB / 433.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.02e-05/0.3107, allocations: 19.84 kB / 433.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.311, allocations: 59.89 kB / 433.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.3112, allocations: 139.7 kB / 433.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.3113, allocations: 11.98 kB / 433.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.3118, allocations: 399.3 kB / 434 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.312, allocations: 67.69 kB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.312, allocations: 12 kB / 434.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.643e-05/0.312, allocations: 8 kB / 434.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.479e-05/0.3121, allocations: 63.77 kB / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.3122, allocations: 83.34 kB / 434.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.3126, allocations: 366.9 kB / 434.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3126, allocations: 4 kB / 434.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3126, allocations: 0 / 434.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3126, allocations: 0 / 434.6 MB, free: 3.043 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.0007914/0.3134, allocations: 0.6629 MB / 435.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3135, allocations: 8.031 kB / 435.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.557e-05/0.3135, allocations: 42.73 kB / 435.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.3136, allocations: 40.7 kB / 435.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.314, allocations: 208.9 kB / 435.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.314, allocations: 8.375 kB / 435.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.314, allocations: 4.375 kB / 435.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.3144, allocations: 252.5 kB / 435.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3144, allocations: 7.938 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.3144, allocations: 4 kB / 435.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3144, allocations: 3.984 kB / 435.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.3147, allocations: 170.8 kB / 436 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000708/0.3154, allocations: 415.6 kB / 436.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.3156, allocations: 189.3 kB / 436.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.3159, allocations: 179.7 kB / 436.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.3159, allocations: 0 / 436.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004854/0.3164, allocations: 333.5 kB / 437.1 MB, free: 260 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.3164, allocations: 0 / 437.1 MB, free: 260 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009973/0.3174, allocations: 0.7 MB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.3175, allocations: 166.2 kB / 438 MB, free: 15.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.3182, allocations: 0.513 MB / 438.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.3183, allocations: 29.7 kB / 438.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.3184, allocations: 101.1 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.3184, allocations: 27.84 kB / 438.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3185, allocations: 85.52 kB / 438.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3187, allocations: 326.7 kB / 439.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.3189, allocations: 182.7 kB / 439.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.3191, allocations: 192.5 kB / 439.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.3195, allocations: 347.3 kB / 439.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3195, allocations: 0 / 439.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006679/0.3201, allocations: 0.4952 MB / 440.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.3203, allocations: 118.8 kB / 440.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3203, allocations: 0 / 440.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3203, allocations: 4 kB / 440.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.039e-05/0.3203, allocations: 4 kB / 440.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.3203, allocations: 0 / 440.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.3204, allocations: 20.08 kB / 440.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.3205, allocations: 43.94 kB / 440.4 MB, free: 12.59 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.0003631/0.3209, allocations: 362.2 kB / 440.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.3209, allocations: 39.8 kB / 440.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.321, allocations: 67.09 kB / 440.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.321, allocations: 3.984 kB / 440.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.321, allocations: 0 / 440.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.321, allocations: 3.938 kB / 440.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.3222, allocations: 0.8894 MB / 441.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.3222, allocations: 0 / 441.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-06/0.3222, allocations: 4 kB / 441.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3222, allocations: 4 kB / 441.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.3222, allocations: 15.98 kB / 441.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3222, allocations: 0 / 441.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3222, allocations: 3.938 kB / 441.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007977/0.323, allocations: 0.6522 MB / 442.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.3234, allocations: 197.4 kB / 442.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.3235, allocations: 8.25 kB / 442.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.3236, allocations: 15.98 kB / 442.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/0.3237, allocations: 23.92 kB / 442.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/0.3238, allocations: 55.92 kB / 442.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005538/0.3243, allocations: 386.9 kB / 443.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3243, allocations: 0 / 443.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3246, allocations: 40 kB / 443.2 MB, free: 9.652 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.001131/0.3257, allocations: 1.209 MB / 444.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006667/0.3264, allocations: 0.6085 MB / 445 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3264, allocations: 0 / 445 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004293/0.3268, allocations: 424.4 kB / 445.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.3275, allocations: 134.3 kB / 445.5 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.3315, allocations: 3.35 MB / 448.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.3318, allocations: 198.3 kB / 449.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.3319, allocations: 4.672 kB / 449.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.3319, allocations: 27.42 kB / 449.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3319, allocations: 0 / 449.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/0.3674, allocations: 6.98 MB / 456.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.28, allocations: 3.938 kB / 456.1 MB, free: 12.37 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.745923854003195]