Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.001337/0.001337, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001416/0.001416, allocations: 186 kB / 23.7 MB, free: 4.191 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.386/1.386, allocations: 225.7 MB / 252.5 MB, free: 12.84 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.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 51.92 kB / 370.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2686, allocations: 52.18 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004515/0.2731, allocations: 1.85 MB / 424.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.2759, allocations: 1.095 MB / 425.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.2761, allocations: 7.938 kB / 425.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.2764, allocations: 55.73 kB / 425.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.2768, allocations: 99.53 kB / 425.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.2778, allocations: 271.5 kB / 425.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.2782, allocations: 167.5 kB / 426.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.2784, allocations: 33.72 kB / 426.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.2785, allocations: 71.7 kB / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.2787, allocations: 87.59 kB / 426.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.2787, allocations: 8 kB / 426.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.2789, allocations: 59.95 kB / 426.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.279, allocations: 59.77 kB / 426.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.811e-05/0.2791, allocations: 51.61 kB / 426.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005012/0.2796, allocations: 248.6 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2797, allocations: 4 kB / 426.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.2797, allocations: 0 / 426.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.2797, allocations: 0 / 426.7 MB, free: 10.24 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.000932/0.2806, allocations: 473.7 kB / 427.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.2806, allocations: 8.031 kB / 427.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.182e-05/0.2807, allocations: 42.69 kB / 427.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.618e-05/0.2808, allocations: 24.78 kB / 427.2 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005344/0.2813, allocations: 221.5 kB / 427.5 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.2813, allocations: 16.36 kB / 427.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.2814, allocations: 7.938 kB / 427.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.2818, allocations: 180.2 kB / 427.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2818, allocations: 0 / 427.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.2818, allocations: 0 / 427.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2818, allocations: 0 / 427.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.282, allocations: 39.92 kB / 427.7 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/0.2827, allocations: 345.4 kB / 428 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.283, allocations: 119.9 kB / 428.2 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.2831, allocations: 46.56 kB / 428.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.2831, allocations: 7.984 kB / 428.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.2834, allocations: 75.39 kB / 428.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.2834, allocations: 0 / 428.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005308/0.2839, allocations: 165.6 kB / 428.4 MB, free: 8.312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.284, allocations: 140.5 kB / 428.6 MB, free: 8.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/0.2845, allocations: 329.8 kB / 428.9 MB, free: 7.816 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.2845, allocations: 29.7 kB / 428.9 MB, free: 7.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.2847, allocations: 120.1 kB / 429 MB, free: 7.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.2847, allocations: 19.89 kB / 429.1 MB, free: 7.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.2848, allocations: 29.67 kB / 429.1 MB, free: 7.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.285, allocations: 334.8 kB / 429.4 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.2851, allocations: 23.98 kB / 429.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.2853, allocations: 141.3 kB / 429.6 MB, free: 7.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.2855, allocations: 92.47 kB / 429.7 MB, free: 6.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.2855, allocations: 0 / 429.7 MB, free: 6.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003496/0.2859, allocations: 129.5 kB / 429.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2859, allocations: 4 kB / 429.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.2859, allocations: 3.984 kB / 429.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.2859, allocations: 8.125 kB / 429.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.2861, allocations: 12 kB / 429.8 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2861, allocations: 4 kB / 429.8 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2862, allocations: 19.81 kB / 429.9 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2862, allocations: 8 kB / 429.9 MB, free: 6.777 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001961/0.2864, allocations: 149.8 kB / 430 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.2865, allocations: 65.55 kB / 430.1 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.2869, allocations: 131.3 kB / 430.2 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2869, allocations: 4.062 kB / 430.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2869, allocations: 0 / 430.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.2869, allocations: 7.938 kB / 430.2 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.2872, allocations: 196.7 kB / 430.4 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2872, allocations: 0 / 430.4 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-05/0.2873, allocations: 12 kB / 430.4 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2873, allocations: 0 / 430.4 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.2873, allocations: 7.984 kB / 430.4 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2873, allocations: 0 / 430.4 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2873, allocations: 0 / 430.4 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.2877, allocations: 174.5 kB / 430.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.2879, allocations: 47.78 kB / 430.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.2879, allocations: 3.984 kB / 430.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.45e-05/0.288, allocations: 8 kB / 430.7 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.2881, allocations: 15.86 kB / 430.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.2881, allocations: 4.062 kB / 430.7 MB, free: 5.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003756/0.2885, allocations: 241.2 kB / 430.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2885, allocations: 0 / 430.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004014/0.2889, allocations: 31.98 kB / 430.9 MB, free: 5.605 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002755/0.2916, allocations: 1.05 MB / 432 MB, free: 4.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.292, allocations: 75.89 kB / 432.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.292, allocations: 0 / 432.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.2921, allocations: 31.92 kB / 432.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.2927, allocations: 78.91 kB / 432.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.2956, allocations: 2.214 MB / 434.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.2957, allocations: 127.9 kB / 434.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.387e-05/0.2958, allocations: 33.61 kB / 434.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.296, allocations: 63.41 kB / 434.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.296, allocations: 0 / 434.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.3309, allocations: 5.938 MB / 440.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.37, allocations: 23.72 kB / 440.6 MB, free: 12.08 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.95804e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.892047509551048]