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.001375/0.001375, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00146/0.00146, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.529/1.529, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.00146/0.00146, allocations: 43.94 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.11, allocations: 53.33 MB / 426.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003706/0.1137, allocations: 1.909 MB / 428.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.116, allocations: 1.309 MB / 429.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1161, allocations: 7.938 kB / 429.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.1165, allocations: 71.61 kB / 429.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.1169, allocations: 131.4 kB / 429.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007464/0.1176, allocations: 231.3 kB / 429.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.1179, allocations: 175.5 kB / 430.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.118, allocations: 21.53 kB / 430.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1181, allocations: 83.58 kB / 430.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.1182, allocations: 87.66 kB / 430.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.1183, allocations: 8 kB / 430.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.1184, allocations: 71.89 kB / 430.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.361e-05/0.1185, allocations: 55.77 kB / 430.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.814e-05/0.1186, allocations: 75.48 kB / 430.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.119, allocations: 235 kB / 430.7 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.119, allocations: 8 kB / 430.8 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.119, allocations: 0 / 430.8 MB, free: 344 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.119, allocations: 3.938 kB / 430.8 MB, free: 340 kB / 350.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.2113/0.3303, allocations: 0.5435 MB / 431.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3303, allocations: 8.938 kB / 431.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.3304, allocations: 37.95 kB / 431.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.3304, allocations: 27.27 kB / 431.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.3309, allocations: 288.8 kB / 431.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.3309, allocations: 5.75 kB / 431.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.3309, allocations: 9.516 kB / 431.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.3313, allocations: 160.2 kB / 431.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3313, allocations: 4.656 kB / 431.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3313, allocations: 5.766 kB / 431.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.3313, allocations: 2.375 kB / 431.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.3315, allocations: 37.72 kB / 431.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.332, allocations: 387.9 kB / 432.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.3322, allocations: 113.9 kB / 432.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/0.3323, allocations: 46.05 kB / 432.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.3323, allocations: 5.594 kB / 432.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.3325, allocations: 81.5 kB / 432.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.3325, allocations: 0 / 432.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004387/0.3329, allocations: 158.3 kB / 432.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.333, allocations: 158 kB / 432.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.3334, allocations: 342.3 kB / 433.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3334, allocations: 29.39 kB / 433.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.3335, allocations: 129.2 kB / 433.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.3335, allocations: 23.61 kB / 433.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.3336, allocations: 29.33 kB / 433.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.969e-05/0.3336, allocations: 337.6 kB / 433.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.252e-05/0.3337, allocations: 24.19 kB / 433.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.3338, allocations: 87.56 kB / 433.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.334, allocations: 86.25 kB / 433.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.334, allocations: 3.438 kB / 433.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002118/0.3342, allocations: 126.9 kB / 434 MB, free: 9.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3342, allocations: 6 kB / 434 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3342, allocations: 0 / 434 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3342, allocations: 6.875 kB / 434 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3343, allocations: 17.31 kB / 434 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3344, allocations: 0 / 434 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.3344, allocations: 11.69 kB / 434 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3344, allocations: 3.75 kB / 434 MB, free: 9.52 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.0001071/0.3345, allocations: 163 kB / 434.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.3346, allocations: 69.28 kB / 434.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.3347, allocations: 30.14 kB / 434.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3347, allocations: 2.188 kB / 434.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3347, allocations: 1.031 kB / 434.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3347, allocations: 3.344 kB / 434.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.3349, allocations: 250.5 kB / 434.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3349, allocations: 3.703 kB / 434.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-05/0.3349, allocations: 15.88 kB / 434.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3349, allocations: 1.031 kB / 434.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3349, allocations: 4.453 kB / 434.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3349, allocations: 2.156 kB / 434.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3349, allocations: 1.062 kB / 434.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.3352, allocations: 170 kB / 434.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.3353, allocations: 110.8 kB / 434.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.3353, allocations: 7.812 kB / 434.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.471e-05/0.3354, allocations: 2.344 kB / 434.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.3354, allocations: 12.34 kB / 434.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.3355, allocations: 3.406 kB / 434.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.3357, allocations: 251.5 kB / 435.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3357, allocations: 4 kB / 435.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.3359, allocations: 37.88 kB / 435.2 MB, free: 8.859 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00189/0.3378, allocations: 1.016 MB / 436.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.3381, allocations: 70.55 kB / 436.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3381, allocations: 1.062 kB / 436.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.657e-05/0.3382, allocations: 28.88 kB / 436.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.3386, allocations: 64.72 kB / 436.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.3408, allocations: 2.241 MB / 438.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.341, allocations: 0.74 MB / 439.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.995e-05/0.3411, allocations: 34.47 kB / 439.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.131e-05/0.3412, allocations: 59.59 kB / 439.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3412, allocations: 3.938 kB / 439.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.3707, allocations: 5.327 MB / 444.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.642, allocations: 15.06 kB / 444.8 MB, free: 5.113 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.305989761996898]