Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001712/0.001712, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001928/0.001928, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.44/1.44, allocations: 230.4 MB / 254 MB, free: 15.02 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.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1073, allocations: 53.38 MB / 426.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003934/0.1112, allocations: 1.905 MB / 428.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.1135, allocations: 1.211 MB / 429.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.1136, allocations: 3.938 kB / 429.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006621/0.1143, allocations: 154.4 kB / 429.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004664/0.1148, allocations: 163.4 kB / 429.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.1153, allocations: 163.5 kB / 429.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.1156, allocations: 183.5 kB / 430.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1157, allocations: 21.55 kB / 430.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.1159, allocations: 87.56 kB / 430.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.116, allocations: 75.67 kB / 430.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1161, allocations: 12 kB / 430.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.1162, allocations: 51.97 kB / 430.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.83e-05/0.1163, allocations: 55.77 kB / 430.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.1164, allocations: 71.48 kB / 430.5 MB, free: 468 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.1167, allocations: 215 kB / 430.7 MB, free: 252 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1167, allocations: 0 / 430.7 MB, free: 252 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1167, allocations: 0 / 430.7 MB, free: 252 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1168, allocations: 0 / 430.7 MB, free: 252 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.199/0.3158, allocations: 0.5179 MB / 431.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3158, allocations: 9.281 kB / 431.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.3158, allocations: 39.19 kB / 431.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.3159, allocations: 23.39 kB / 431.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.3163, allocations: 272.4 kB / 431.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3163, allocations: 9.531 kB / 431.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.3163, allocations: 6.156 kB / 431.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.3167, allocations: 146 kB / 431.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3167, allocations: 5.609 kB / 431.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3167, allocations: 0.8125 kB / 431.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3167, allocations: 6 kB / 431.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.3168, allocations: 37.36 kB / 431.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.3173, allocations: 360.9 kB / 432.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.3175, allocations: 104 kB / 432.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.004e-05/0.3176, allocations: 45.55 kB / 432.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.3176, allocations: 4.297 kB / 432.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.3178, allocations: 73.91 kB / 432.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.3178, allocations: 1 kB / 432.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004002/0.3182, allocations: 143.8 kB / 432.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.3182, allocations: 140.7 kB / 432.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.3185, allocations: 271.7 kB / 432.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.3185, allocations: 27.08 kB / 432.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.3186, allocations: 121.1 kB / 433 MB, free: 9.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.3186, allocations: 16.73 kB / 433 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.3187, allocations: 34.7 kB / 433.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.3187, allocations: 337.7 kB / 433.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/0.3188, allocations: 18.2 kB / 433.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-05/0.3189, allocations: 65.12 kB / 433.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.319, allocations: 83.31 kB / 433.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.319, allocations: 0 / 433.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000188/0.3192, allocations: 113.6 kB / 433.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3192, allocations: 8.75 kB / 433.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3192, allocations: 2.094 kB / 433.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3192, allocations: 1.375 kB / 433.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.3193, allocations: 10.72 kB / 433.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.3193, allocations: 5.453 kB / 433.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.3194, allocations: 12.23 kB / 433.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3194, allocations: 6.25 kB / 433.7 MB, free: 9.469 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,sample1.u,subSample1.y,subSample1.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 9.902e-05/0.3195, allocations: 146.4 kB / 433.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.3196, allocations: 66.34 kB / 433.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.3196, allocations: 24.3 kB / 434 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3196, allocations: 6.609 kB / 434 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3196, allocations: 0 / 434 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3196, allocations: 0 / 434 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.3198, allocations: 234.1 kB / 434.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3198, allocations: 0 / 434.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.3198, allocations: 5.312 kB / 434.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3198, allocations: 6.094 kB / 434.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3198, allocations: 3.797 kB / 434.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3198, allocations: 2.25 kB / 434.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3198, allocations: 1.156 kB / 434.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.3201, allocations: 160.2 kB / 434.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.3201, allocations: 115.8 kB / 434.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.3202, allocations: 4.125 kB / 434.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.087e-05/0.3202, allocations: 10.17 kB / 434.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.3203, allocations: 3.344 kB / 434.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3203, allocations: 3.781 kB / 434.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.3204, allocations: 206 kB / 434.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3204, allocations: 0 / 434.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.3207, allocations: 36.64 kB / 434.7 MB, free: 8.82 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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.00175/0.3224, allocations: 1.003 MB / 435.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.3226, allocations: 66.05 kB / 435.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3226, allocations: 4.062 kB / 435.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/0.3227, allocations: 20.25 kB / 435.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.3231, allocations: 57.62 kB / 435.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.3249, allocations: 1.954 MB / 437.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3252, allocations: 0.7322 MB / 438.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.828e-05/0.3252, allocations: 23.11 kB / 438.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.3253, allocations: 49.92 kB / 438.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3253, allocations: 0 / 438.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.3543, allocations: 4.659 MB / 443.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.542/7.897, allocations: 8.297 kB / 443.3 MB, free: 5.246 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98963e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! Error: Could not read variable subSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv. Warning: Get data of variable subSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.449461196083575]