Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00234/0.00234, allocations: 204.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 51.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3021, allocations: 53.37 MB / 431.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003652/0.3058, allocations: 1.871 MB / 433 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.3082, allocations: 1.223 MB / 434.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.3084, allocations: 7.938 kB / 434.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.3088, allocations: 75.66 kB / 434.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004758/0.3093, allocations: 131.4 kB / 434.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007958/0.3101, allocations: 230.3 kB / 434.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.3103, allocations: 187.5 kB / 434.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.3105, allocations: 17.73 kB / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3106, allocations: 79.69 kB / 434.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.3107, allocations: 87.61 kB / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.3108, allocations: 8 kB / 435 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.311, allocations: 79.94 kB / 435.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.72e-05/0.3111, allocations: 47.78 kB / 435.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.166e-05/0.3112, allocations: 63.53 kB / 435.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.3116, allocations: 244.7 kB / 435.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3116, allocations: 0 / 435.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3116, allocations: 0 / 435.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.3116, allocations: 0 / 435.4 MB, free: 2.266 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.0008019/0.3124, allocations: 486.4 kB / 435.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.3124, allocations: 12.03 kB / 435.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.3125, allocations: 34.75 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/0.3125, allocations: 24.8 kB / 436 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.313, allocations: 229.5 kB / 436.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.313, allocations: 12.36 kB / 436.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.313, allocations: 7.938 kB / 436.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.3134, allocations: 184.4 kB / 436.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3134, allocations: 3.938 kB / 436.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.3135, allocations: 8 kB / 436.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3135, allocations: 0 / 436.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.3136, allocations: 31.98 kB / 436.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.3142, allocations: 345.5 kB / 436.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.3145, allocations: 115.9 kB / 436.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.3146, allocations: 50.55 kB / 436.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.3146, allocations: 4 kB / 436.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.3148, allocations: 79.31 kB / 437 MB, free: 484 kB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3148, allocations: 0 / 437 MB, free: 484 kB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004413/0.3153, allocations: 157.4 kB / 437.2 MB, free: 320 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.3154, allocations: 132.5 kB / 437.3 MB, free: 156 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.3159, allocations: 341.9 kB / 437.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.3159, allocations: 37.89 kB / 437.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.316, allocations: 132.1 kB / 437.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.3161, allocations: 19.81 kB / 437.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.3161, allocations: 37.64 kB / 437.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.3163, allocations: 338.8 kB / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.573e-05/0.3164, allocations: 27.98 kB / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.3166, allocations: 125.4 kB / 438.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.3167, allocations: 92.23 kB / 438.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3167, allocations: 0 / 438.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002762/0.317, allocations: 129.7 kB / 438.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.317, allocations: 4 kB / 438.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.317, allocations: 8 kB / 438.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.3171, allocations: 0 / 438.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.3172, allocations: 19.98 kB / 438.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3172, allocations: 0 / 438.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.3173, allocations: 12.06 kB / 438.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3173, allocations: 8 kB / 438.6 MB, free: 14.76 MB / 350.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.0001754/0.3175, allocations: 161.7 kB / 438.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3176, allocations: 69.5 kB / 438.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000307/0.3179, allocations: 123.3 kB / 438.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3179, allocations: 4 kB / 438.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3179, allocations: 0 / 438.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3179, allocations: 7.922 kB / 438.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.3181, allocations: 196.8 kB / 439.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3181, allocations: 4 kB / 439.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/0.3182, allocations: 19.94 kB / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3182, allocations: 0 / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3182, allocations: 7.984 kB / 439.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3182, allocations: 0 / 439.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.3182, allocations: 4.016 kB / 439.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.3185, allocations: 182.5 kB / 439.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.512e-05/0.3186, allocations: 35.84 kB / 439.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.3187, allocations: 4 kB / 439.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.3187, allocations: 11.98 kB / 439.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.3188, allocations: 15.92 kB / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.3188, allocations: 4 kB / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002529/0.3191, allocations: 245.2 kB / 439.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3191, allocations: 0 / 439.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.3193, allocations: 35.92 kB / 439.7 MB, free: 13.56 MB / 350.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.002144/0.3215, allocations: 1.061 MB / 440.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.3218, allocations: 83.83 kB / 440.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3218, allocations: 0 / 440.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.04e-05/0.3219, allocations: 35.86 kB / 440.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.3223, allocations: 67.42 kB / 440.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.3252, allocations: 2.23 MB / 443.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.3253, allocations: 136.3 kB / 443.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.858e-05/0.3254, allocations: 29.62 kB / 443.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.3255, allocations: 55.42 kB / 443.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3255, allocations: 4 kB / 443.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03648/0.362, allocations: 6.091 MB / 449.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.15, allocations: 7.016 kB / 449.5 MB, free: 3.871 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.769534431979991]