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.00183/0.00183, 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.001714/0.001714, allocations: 207.5 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.532/1.532, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.002185/0.002185, allocations: 63.91 kB / 377.7 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2519, allocations: 53.4 MB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002915/0.2548, allocations: 1.499 MB / 432.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.2569, allocations: 0.8343 MB / 433.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.2569, allocations: 0 / 433.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.257, allocations: 15.86 kB / 433.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.777e-05/0.2571, allocations: 15.86 kB / 433.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.2574, allocations: 55.88 kB / 433.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.2577, allocations: 135.7 kB / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.2578, allocations: 15.98 kB / 433.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005295/0.2583, allocations: 403.2 kB / 434.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.2585, allocations: 63.69 kB / 434.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.2585, allocations: 12 kB / 434.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.336e-05/0.2586, allocations: 8 kB / 434.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.2587, allocations: 67.7 kB / 434.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.2588, allocations: 75.42 kB / 434.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.2592, allocations: 368.1 kB / 434.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2592, allocations: 0 / 434.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2592, allocations: 0 / 434.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.2592, allocations: 0 / 434.7 MB, free: 2.879 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.0007896/0.26, allocations: 0.663 MB / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.26, allocations: 11.98 kB / 435.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.2601, allocations: 42.73 kB / 435.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.2601, allocations: 40.7 kB / 435.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.2604, allocations: 212.9 kB / 435.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.2605, allocations: 8.375 kB / 435.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.2605, allocations: 8.312 kB / 435.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.2609, allocations: 248.5 kB / 435.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2609, allocations: 0 / 435.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.2609, allocations: 7.984 kB / 435.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2609, allocations: 0 / 435.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.2611, allocations: 174.8 kB / 436.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006994/0.2618, allocations: 423.5 kB / 436.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.2621, allocations: 189.3 kB / 436.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.2623, allocations: 179.7 kB / 436.9 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.2623, allocations: 4 kB / 436.9 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004787/0.2628, allocations: 321.5 kB / 437.2 MB, free: 88 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.2628, allocations: 0 / 437.2 MB, free: 88 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001/0.2638, allocations: 0.6971 MB / 437.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.2639, allocations: 170.2 kB / 438 MB, free: 15.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006602/0.2646, allocations: 0.5168 MB / 438.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.2646, allocations: 37.69 kB / 438.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.2647, allocations: 93.14 kB / 438.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.2647, allocations: 27.84 kB / 438.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.2648, allocations: 85.45 kB / 438.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.265, allocations: 326.8 kB / 439.1 MB, free: 14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.2652, allocations: 178.8 kB / 439.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2654, allocations: 192.5 kB / 439.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.2658, allocations: 346.4 kB / 439.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2658, allocations: 4 kB / 439.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006509/0.2665, allocations: 0.4952 MB / 440.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.2666, allocations: 118.8 kB / 440.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.2666, allocations: 4 kB / 440.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2666, allocations: 0 / 440.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.169e-05/0.2666, allocations: 4.094 kB / 440.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2666, allocations: 8 kB / 440.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.2668, allocations: 15.95 kB / 440.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/0.2668, allocations: 40 kB / 440.5 MB, free: 12.42 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.0003865/0.2672, allocations: 374.2 kB / 440.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.2673, allocations: 39.7 kB / 440.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.2674, allocations: 67.09 kB / 441 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2674, allocations: 0 / 441 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2674, allocations: 0 / 441 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2674, allocations: 0 / 441 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.2685, allocations: 0.8817 MB / 441.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2685, allocations: 192 / 441.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-06/0.2685, allocations: 8 kB / 441.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2685, allocations: 0 / 441.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.2685, allocations: 11.98 kB / 441.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2685, allocations: 4 kB / 441.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2685, allocations: 3.938 kB / 441.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008027/0.2694, allocations: 0.6523 MB / 442.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/0.2697, allocations: 201.4 kB / 442.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.2698, allocations: 12 kB / 442.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.27, allocations: 11.98 kB / 442.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.2701, allocations: 31.91 kB / 442.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-05/0.2701, allocations: 43.92 kB / 442.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005044/0.2706, allocations: 386.9 kB / 443.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2706, allocations: 0 / 443.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.2709, allocations: 51.98 kB / 443.3 MB, free: 9.473 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.001164/0.2721, allocations: 1.213 MB / 444.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006926/0.2728, allocations: 0.6007 MB / 445.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2728, allocations: 0 / 445.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003913/0.2732, allocations: 432.3 kB / 445.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007147/0.2739, allocations: 125.9 kB / 445.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.2778, allocations: 3.34 MB / 449 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.2781, allocations: 201.7 kB / 449.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.15e-05/0.2782, allocations: 8.656 kB / 449.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.2782, allocations: 31.42 kB / 449.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2782, allocations: 0 / 449.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04308/0.3213, allocations: 6.93 MB / 456.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.56, allocations: 11.98 kB / 456.1 MB, free: 12.18 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 & 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: 14.194915276020765]