Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 103.5 kB / 20.43 MB, free: 1.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 180.1 kB / 23.7 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002507/0.002507, allocations: 51.92 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.259, allocations: 52.18 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002958/0.262, allocations: 1.478 MB / 424 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.2639, allocations: 0.8109 MB / 424.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.2639, allocations: 4 kB / 424.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.102e-05/0.264, allocations: 15.8 kB / 424.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.641e-05/0.2641, allocations: 15.86 kB / 424.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.2644, allocations: 55.88 kB / 425 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.2646, allocations: 131.8 kB / 425.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.2647, allocations: 23.91 kB / 425.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004807/0.2652, allocations: 383.3 kB / 425.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.2654, allocations: 79.61 kB / 425.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.2654, allocations: 8 kB / 425.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.002e-05/0.2654, allocations: 16 kB / 425.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.901e-05/0.2655, allocations: 59.77 kB / 425.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.2656, allocations: 79.36 kB / 425.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.266, allocations: 372.1 kB / 426.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.266, allocations: 0 / 426.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.266, allocations: 0 / 426.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.266, allocations: 0 / 426.1 MB, free: 10.88 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.0008023/0.2668, allocations: 0.6591 MB / 426.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2669, allocations: 12.03 kB / 426.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.2669, allocations: 38.73 kB / 426.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.267, allocations: 44.7 kB / 426.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.2673, allocations: 208.9 kB / 427 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.2673, allocations: 8.375 kB / 427 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.2673, allocations: 8.375 kB / 427 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.2677, allocations: 244.5 kB / 427.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2677, allocations: 4 kB / 427.3 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.2677, allocations: 3.984 kB / 427.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.2677, allocations: 4 kB / 427.3 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.2679, allocations: 170.8 kB / 427.5 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006898/0.2686, allocations: 423.5 kB / 427.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.2689, allocations: 197.3 kB / 428.1 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.2691, allocations: 175.7 kB / 428.2 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.2691, allocations: 0 / 428.2 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004452/0.2695, allocations: 325.5 kB / 428.6 MB, free: 8.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.2695, allocations: 0 / 428.6 MB, free: 8.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009515/0.2705, allocations: 0.6953 MB / 429.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.2706, allocations: 170.2 kB / 429.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006743/0.2713, allocations: 0.5091 MB / 429.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.2713, allocations: 29.7 kB / 430 MB, free: 6.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.2714, allocations: 109.1 kB / 430.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.2714, allocations: 27.83 kB / 430.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.2715, allocations: 77.56 kB / 430.2 MB, free: 6.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2717, allocations: 330.7 kB / 430.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.2719, allocations: 178.8 kB / 430.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.2721, allocations: 196.4 kB / 430.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.2725, allocations: 351.4 kB / 431.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2725, allocations: 0 / 431.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006321/0.2731, allocations: 0.4913 MB / 431.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.624e-05/0.2732, allocations: 126.8 kB / 431.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2732, allocations: 8.016 kB / 431.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2732, allocations: 0 / 431.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.952e-05/0.2732, allocations: 4 kB / 431.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2733, allocations: 3.984 kB / 431.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.2734, allocations: 8 kB / 431.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.2734, allocations: 47.94 kB / 431.9 MB, free: 4.422 MB / 334.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.0003536/0.2738, allocations: 370.3 kB / 432.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.2738, allocations: 39.77 kB / 432.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.274, allocations: 67.03 kB / 432.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.274, allocations: 4 kB / 432.4 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.274, allocations: 4 kB / 432.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.274, allocations: 0 / 432.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.275, allocations: 0.8775 MB / 433.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.275, allocations: 3.938 kB / 433.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-06/0.275, allocations: 0 / 433.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.275, allocations: 0 / 433.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.275, allocations: 15.98 kB / 433.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.275, allocations: 0 / 433.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.275, allocations: 3.938 kB / 433.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007692/0.2758, allocations: 0.657 MB / 433.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.2762, allocations: 205.4 kB / 434.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.2763, allocations: 8 kB / 434.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.2764, allocations: 11.98 kB / 434.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2765, allocations: 31.91 kB / 434.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.2765, allocations: 40 kB / 434.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004937/0.277, allocations: 386.9 kB / 434.6 MB, free: 1.527 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.277, allocations: 0 / 434.6 MB, free: 1.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.2773, allocations: 44 kB / 434.6 MB, free: 1.484 MB / 334.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.00109/0.2784, allocations: 1.202 MB / 435.8 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006528/0.2791, allocations: 0.6087 MB / 436.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2791, allocations: 0 / 436.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.2794, allocations: 428.6 kB / 436.9 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.2801, allocations: 126.7 kB / 437 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.2839, allocations: 3.351 MB / 440.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.2842, allocations: 197.8 kB / 440.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.086e-05/0.2842, allocations: 12.64 kB / 440.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.2843, allocations: 27.42 kB / 440.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2843, allocations: 0 / 440.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.316, allocations: 6.947 MB / 447.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.56, allocations: 0 / 447.5 MB, free: 4.242 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.csv. Warning: Get data of variable iNV3S.y from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.024178181774914]