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.00125/0.00125, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.00135/0.00135, allocations: 214.6 kB / 20.75 MB, free: 2.328 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.511/1.511, allocations: 230.5 MB / 254 MB, free: 15.02 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.001855/0.001855, allocations: 63.91 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1171, allocations: 53.37 MB / 426.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002969/0.1201, allocations: 1.545 MB / 427.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.1222, allocations: 0.881 MB / 428.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.156e-05/0.1222, allocations: 4 kB / 428.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.155e-05/0.1223, allocations: 11.86 kB / 428.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.002e-05/0.1224, allocations: 23.84 kB / 428.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.1226, allocations: 47.89 kB / 428.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.1229, allocations: 135.7 kB / 429 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.123, allocations: 27.92 kB / 429 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004765/0.1234, allocations: 395.2 kB / 429.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.1236, allocations: 67.75 kB / 429.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.1236, allocations: 8 kB / 429.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.99e-05/0.1236, allocations: 12 kB / 429.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.317e-05/0.1237, allocations: 67.69 kB / 429.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.1239, allocations: 111.2 kB / 429.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.1243, allocations: 362.5 kB / 430 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1243, allocations: 0 / 430 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1243, allocations: 0 / 430 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1243, allocations: 4 kB / 430 MB, free: 0.918 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.0007929/0.1251, allocations: 0.7344 MB / 430.8 MB, free: 112 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1251, allocations: 15.97 kB / 430.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.87e-05/0.1251, allocations: 34.75 kB / 430.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.1252, allocations: 36.7 kB / 430.8 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2278/0.353, allocations: 276.2 kB / 431.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.353, allocations: 7.719 kB / 431.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.353, allocations: 7.969 kB / 431.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.3534, allocations: 125.5 kB / 431.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3534, allocations: 2.125 kB / 431.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.3535, allocations: 3.328 kB / 431.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3535, allocations: 6.125 kB / 431.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.3536, allocations: 60.97 kB / 431.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007085/0.3544, allocations: 456 kB / 431.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.3545, allocations: 77.41 kB / 431.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.3547, allocations: 61.59 kB / 431.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3547, allocations: 4.844 kB / 431.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.3551, allocations: 209 kB / 432.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.3551, allocations: 0 / 432.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008388/0.3559, allocations: 460.9 kB / 432.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.356, allocations: 172 kB / 432.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.3566, allocations: 0.514 MB / 433.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.3566, allocations: 34.23 kB / 433.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.3567, allocations: 104.3 kB / 433.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.3567, allocations: 31.53 kB / 433.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.3568, allocations: 80.89 kB / 433.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.3569, allocations: 321.1 kB / 433.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.357, allocations: 58.75 kB / 433.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.3572, allocations: 69.34 kB / 433.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.3575, allocations: 347 kB / 434.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3575, allocations: 1.188 kB / 434.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000505/0.358, allocations: 386.2 kB / 434.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.24e-05/0.358, allocations: 135.5 kB / 434.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.358, allocations: 0 / 434.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3581, allocations: 1.062 kB / 434.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.241e-05/0.3581, allocations: 1.188 kB / 434.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.3581, allocations: 1.094 kB / 434.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.3582, allocations: 13.83 kB / 434.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/0.3583, allocations: 42.94 kB / 434.8 MB, free: 8.82 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.0002929/0.3586, allocations: 360.9 kB / 435.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.3586, allocations: 44.14 kB / 435.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.3587, allocations: 65.97 kB / 435.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3587, allocations: 1.25 kB / 435.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3587, allocations: 1.125 kB / 435.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3588, allocations: 3.266 kB / 435.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009303/0.3597, allocations: 0.8105 MB / 436.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3597, allocations: 2.062 kB / 436.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-06/0.3597, allocations: 4.703 kB / 436.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3597, allocations: 1.312 kB / 436.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.3597, allocations: 11.66 kB / 436.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3597, allocations: 1.875 kB / 436.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3597, allocations: 1.406 kB / 436.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.3604, allocations: 0.5398 MB / 436.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.3607, allocations: 247.5 kB / 436.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.3608, allocations: 12.28 kB / 436.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3609, allocations: 11.64 kB / 436.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.361, allocations: 20.28 kB / 437 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-05/0.3611, allocations: 47.09 kB / 437 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000496/0.3616, allocations: 391.8 kB / 437.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3616, allocations: 2.25 kB / 437.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.3619, allocations: 42.5 kB / 437.4 MB, free: 7.32 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.0008242/0.3627, allocations: 1.088 MB / 438.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004294/0.3632, allocations: 369.3 kB / 438.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3632, allocations: 1.219 kB / 438.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.3634, allocations: 303.4 kB / 439.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.364, allocations: 119.4 kB / 439.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.3673, allocations: 2.769 MB / 442.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3676, allocations: 0.7996 MB / 442.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.256e-05/0.3676, allocations: 9.594 kB / 442.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.3677, allocations: 30.52 kB / 442.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3677, allocations: 0 / 442.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.3981, allocations: 5.922 MB / 448.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.287/8.685, allocations: 8 kB / 448.8 MB, free: 2.383 MB / 350.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00239569 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.csv","/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] "Error: Could not read variable iNV3S.y in file Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.csv. Warning: Get data of variable iNV3S.y from file Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.269082990009338]