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.001264/0.001264, allocations: 76.36 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0008913/0.0008913, allocations: 164.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.8771/0.8771, allocations: 177 MB / 204.1 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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 1.593e-06/1.593e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.841e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001733/0.001752, allocations: 1.508 MB / 326 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.003027, allocations: 0.8264 MB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/0.003083, allocations: 0 / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.489e-05/0.003168, allocations: 11.86 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.979e-05/0.003237, allocations: 19.86 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.003481, allocations: 59.81 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.003638, allocations: 131.7 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.769e-05/0.003725, allocations: 19.97 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005865/0.004312, allocations: 423.2 kB / 327.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.508e-05/0.004407, allocations: 55.81 kB / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.004434, allocations: 8 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.156e-05/0.004456, allocations: 12 kB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.004521, allocations: 67.72 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.004586, allocations: 55.72 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.00483, allocations: 362.9 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.004832, allocations: 4 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004833, allocations: 0 / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.004837, allocations: 0 / 328 MB, free: 12.35 MB / 298.7 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.0005679/0.005405, allocations: 0.6475 MB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.00544, allocations: 11.98 kB / 328.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.272e-05/0.005473, allocations: 38.75 kB / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.005518, allocations: 40.7 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.005707, allocations: 227.9 kB / 329 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.005723, allocations: 4.375 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.005741, allocations: 12.38 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.005982, allocations: 245 kB / 329.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.005989, allocations: 4.125 kB / 329.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.006009, allocations: 8.125 kB / 329.3 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.006014, allocations: 0 / 329.3 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.006134, allocations: 182.7 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.00657, allocations: 407.7 kB / 329.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.006718, allocations: 197.3 kB / 330 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.006831, allocations: 179.7 kB / 330.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.00684, allocations: 7.938 kB / 330.2 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/0.007107, allocations: 324.9 kB / 330.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.007109, allocations: 0 / 330.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005713/0.00768, allocations: 0.697 MB / 331.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.007757, allocations: 166.2 kB / 331.4 MB, free: 8.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.008172, allocations: 0.5207 MB / 331.9 MB, free: 8.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.008193, allocations: 29.7 kB / 332 MB, free: 8.016 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.008242, allocations: 97.12 kB / 332 MB, free: 7.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.00827, allocations: 27.8 kB / 332.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/0.008345, allocations: 93.48 kB / 332.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.00842, allocations: 318.8 kB / 332.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.008533, allocations: 174.8 kB / 332.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.008648, allocations: 200.5 kB / 332.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.008851, allocations: 367.1 kB / 333.2 MB, free: 6.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.008853, allocations: 0 / 333.2 MB, free: 6.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000354/0.009207, allocations: 0.4914 MB / 333.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/0.009266, allocations: 130.8 kB / 333.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.00927, allocations: 112 / 333.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.009282, allocations: 7.875 kB / 333.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.937e-05/0.009301, allocations: 0 / 333.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.009309, allocations: 4 kB / 333.8 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.209e-05/0.009401, allocations: 19.97 kB / 333.9 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.00944, allocations: 40 kB / 333.9 MB, free: 5.867 MB / 298.7 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.0005088/0.009948, allocations: 362.5 kB / 334.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.009979, allocations: 43.75 kB / 334.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.711e-05/0.01005, allocations: 63.09 kB / 334.3 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01005, allocations: 7.984 kB / 334.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.01005, allocations: 0 / 334.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.01006, allocations: 0 / 334.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006207/0.01068, allocations: 0.8851 MB / 335.2 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01068, allocations: 0 / 335.2 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-06/0.01068, allocations: 4 kB / 335.2 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01069, allocations: 0 / 335.2 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.0107, allocations: 16 kB / 335.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01071, allocations: 0 / 335.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01071, allocations: 3.938 kB / 335.3 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004164/0.01112, allocations: 0.6609 MB / 335.9 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.01134, allocations: 201.4 kB / 336.1 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.01138, allocations: 12 kB / 336.1 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.01145, allocations: 11.98 kB / 336.1 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.01154, allocations: 28.16 kB / 336.2 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.01157, allocations: 63.86 kB / 336.2 MB, free: 3.324 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002857/0.01185, allocations: 386.9 kB / 336.6 MB, free: 2.945 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01185, allocations: 0 / 336.6 MB, free: 2.945 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001898/0.01204, allocations: 51.81 kB / 336.7 MB, free: 2.895 MB / 298.7 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.0006195/0.01266, allocations: 1.198 MB / 337.9 MB, free: 1.621 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004076/0.01307, allocations: 0.6124 MB / 338.5 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01307, allocations: 0 / 338.5 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.01329, allocations: 424.4 kB / 338.9 MB, free: 428 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.0137, allocations: 133.6 kB / 339 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.01688, allocations: 3.364 MB / 342.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.01704, allocations: 202.2 kB / 342.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.458e-05/0.01708, allocations: 4.734 kB / 342.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.01712, allocations: 28.48 kB / 342.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01712, allocations: 0 / 342.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.03649, allocations: 7.038 MB / 349.7 MB, free: 5.473 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/6.997, allocations: 10.89 kB / 349.7 MB, free: 5.465 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/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: 8.763188049197197]