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.00188/0.00188, allocations: 114 kB / 20.43 MB, free: 1.457 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.002304/0.002304, allocations: 214.8 kB / 23.74 MB, free: 4.672 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.98 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.001843/0.001843, allocations: 59.89 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2618, allocations: 53.4 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002848/0.2646, allocations: 1.549 MB / 432.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.2666, allocations: 0.8848 MB / 433.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.2667, allocations: 8 kB / 433.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.2668, allocations: 11.86 kB / 433.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.268e-05/0.2668, allocations: 19.86 kB / 433.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.2671, allocations: 55.81 kB / 433.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.2674, allocations: 135.8 kB / 433.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.2675, allocations: 19.97 kB / 433.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005024/0.268, allocations: 395.2 kB / 434.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.2681, allocations: 75.69 kB / 434.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.2682, allocations: 8 kB / 434.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.872e-05/0.2682, allocations: 16 kB / 434.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.638e-05/0.2683, allocations: 59.77 kB / 434.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.2684, allocations: 115.1 kB / 434.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.2688, allocations: 358.9 kB / 434.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2688, allocations: 0 / 434.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2688, allocations: 0 / 434.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2688, allocations: 0 / 434.9 MB, free: 2.965 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.0007975/0.2696, allocations: 0.6591 MB / 435.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2697, allocations: 12.03 kB / 435.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.2697, allocations: 34.75 kB / 435.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.233e-05/0.2698, allocations: 44.69 kB / 435.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.2701, allocations: 216.8 kB / 435.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.2701, allocations: 8.375 kB / 435.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.2701, allocations: 8.375 kB / 435.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.2704, allocations: 129.7 kB / 436 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2704, allocations: 3.984 kB / 436 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.2705, allocations: 7.938 kB / 436 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2705, allocations: 0 / 436 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.2706, allocations: 55.97 kB / 436 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007041/0.2713, allocations: 435.5 kB / 436.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.2715, allocations: 74.53 kB / 436.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.2716, allocations: 60.89 kB / 436.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.2716, allocations: 0 / 436.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004597/0.2721, allocations: 202.7 kB / 436.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2721, allocations: 7.938 kB / 436.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008223/0.2729, allocations: 464.3 kB / 437.2 MB, free: 380 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.273, allocations: 166.2 kB / 437.4 MB, free: 176 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006887/0.2737, allocations: 0.5208 MB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.2738, allocations: 29.7 kB / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.2738, allocations: 97.09 kB / 438.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.2739, allocations: 31.77 kB / 438.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.274, allocations: 85.52 kB / 438.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.2742, allocations: 330.8 kB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.2743, allocations: 51.97 kB / 438.5 MB, free: 15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.2744, allocations: 77.67 kB / 438.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.2748, allocations: 338.5 kB / 439 MB, free: 14.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2748, allocations: 0 / 439 MB, free: 14.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005567/0.2754, allocations: 368.3 kB / 439.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.2755, allocations: 134.8 kB / 439.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2755, allocations: 0 / 439.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2755, allocations: 0 / 439.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.26e-05/0.2755, allocations: 4 kB / 439.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2755, allocations: 0 / 439.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.2756, allocations: 12.08 kB / 439.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.927e-05/0.2757, allocations: 47.98 kB / 439.5 MB, free: 13.93 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.0003724/0.2761, allocations: 362.2 kB / 439.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.2761, allocations: 35.81 kB / 439.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.2762, allocations: 67.09 kB / 440 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2762, allocations: 0 / 440 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2763, allocations: 0 / 440 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2763, allocations: 4 kB / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.2773, allocations: 0.7929 MB / 440.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2773, allocations: 0 / 440.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-06/0.2773, allocations: 3.938 kB / 440.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2773, allocations: 3.984 kB / 440.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.2773, allocations: 15.94 kB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2773, allocations: 0 / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2773, allocations: 7.938 kB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006801/0.278, allocations: 0.5293 MB / 441.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.2784, allocations: 201.4 kB / 441.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.2784, allocations: 4 kB / 441.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.2786, allocations: 15.98 kB / 441.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.2787, allocations: 27.91 kB / 441.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.2787, allocations: 47.94 kB / 441.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00051/0.2792, allocations: 390.9 kB / 442 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2792, allocations: 4 kB / 442 MB, free: 11.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.2795, allocations: 40 kB / 442 MB, free: 11.25 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.001064/0.2806, allocations: 1.089 MB / 443.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005142/0.2811, allocations: 373.7 kB / 443.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2811, allocations: 0 / 443.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.2814, allocations: 301.6 kB / 443.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.282, allocations: 135.7 kB / 443.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.2856, allocations: 2.748 MB / 446.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.2861, allocations: 0.8061 MB / 447.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.752e-05/0.2862, allocations: 8.656 kB / 447.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.2863, allocations: 31.42 kB / 447.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2863, allocations: 0 / 447.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.3207, allocations: 6.072 MB / 453.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.12, allocations: 3.938 kB / 453.6 MB, free: 15.5 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.690726543998608]