Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001361/0.001361, 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.001452/0.001452, allocations: 210.3 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 47.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3324, allocations: 53.38 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003625/0.336, allocations: 1.886 MB / 433 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.3383, allocations: 1.138 MB / 434.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.3384, allocations: 0 / 434.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006834/0.3391, allocations: 151.5 kB / 434.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.3395, allocations: 159.4 kB / 434.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.34, allocations: 178.5 kB / 434.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.3403, allocations: 191.4 kB / 434.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3404, allocations: 25.53 kB / 434.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.3406, allocations: 71.7 kB / 434.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.3407, allocations: 83.62 kB / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.3407, allocations: 8 kB / 435 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.3409, allocations: 67.88 kB / 435 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.651e-05/0.341, allocations: 39.84 kB / 435.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.3411, allocations: 59.66 kB / 435.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.3414, allocations: 212.9 kB / 435.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3414, allocations: 0 / 435.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3414, allocations: 0 / 435.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3414, allocations: 0 / 435.3 MB, free: 2.391 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.001019/0.3425, allocations: 450.8 kB / 435.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/0.3425, allocations: 12.03 kB / 435.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.177e-05/0.3426, allocations: 34.73 kB / 435.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.165e-05/0.3427, allocations: 24.8 kB / 435.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.3431, allocations: 225 kB / 436.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.3432, allocations: 4.375 kB / 436.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.3432, allocations: 11.94 kB / 436.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.3436, allocations: 133.9 kB / 436.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3436, allocations: 0 / 436.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3437, allocations: 4 kB / 436.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.3437, allocations: 4 kB / 436.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.3438, allocations: 39.91 kB / 436.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/0.3444, allocations: 321.5 kB / 436.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.3447, allocations: 107.9 kB / 436.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.873e-05/0.3448, allocations: 42.56 kB / 436.7 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.883e-05/0.3448, allocations: 4 kB / 436.7 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.3451, allocations: 79.41 kB / 436.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.3451, allocations: 0 / 436.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004795/0.3456, allocations: 153.4 kB / 436.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.3457, allocations: 106.8 kB / 437 MB, free: 460 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.346, allocations: 281 kB / 437.3 MB, free: 172 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.346, allocations: 25.7 kB / 437.3 MB, free: 140 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.3462, allocations: 120.1 kB / 437.5 MB, free: 16 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.3462, allocations: 19.94 kB / 437.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.3463, allocations: 37.55 kB / 437.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3465, allocations: 326.8 kB / 437.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/0.3465, allocations: 20.23 kB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.3467, allocations: 98.78 kB / 438 MB, free: 15.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.3468, allocations: 80.22 kB / 438 MB, free: 15.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3468, allocations: 0 / 438 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002243/0.347, allocations: 117.5 kB / 438.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3471, allocations: 4.156 kB / 438.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3471, allocations: 4 kB / 438.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.3471, allocations: 4 kB / 438.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.713e-05/0.3472, allocations: 11.98 kB / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.3472, allocations: 7.938 kB / 438.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.037e-05/0.3473, allocations: 15.83 kB / 438.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3473, allocations: 4 kB / 438.2 MB, free: 15.22 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 0.0001736/0.3474, allocations: 145.8 kB / 438.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/0.3475, allocations: 65.53 kB / 438.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.3478, allocations: 111.4 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3478, allocations: 4 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3478, allocations: 320 / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3478, allocations: 3.938 kB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.3481, allocations: 196.6 kB / 438.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3481, allocations: 0 / 438.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.3481, allocations: 15.94 kB / 438.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3481, allocations: 0 / 438.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3481, allocations: 4 kB / 438.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3481, allocations: 0 / 438.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3481, allocations: 4 kB / 438.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.3484, allocations: 166.7 kB / 438.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.3484, allocations: 39.78 kB / 438.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.3485, allocations: 0 / 438.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.284e-05/0.3485, allocations: 7.984 kB / 438.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.3486, allocations: 11.94 kB / 439 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.3486, allocations: 7.984 kB / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002077/0.3488, allocations: 200.5 kB / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3488, allocations: 0 / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000257/0.3491, allocations: 28 kB / 439.2 MB, free: 14.14 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.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.002273/0.3514, allocations: 1.045 MB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.3516, allocations: 75.78 kB / 440.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.3516, allocations: 0 / 440.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.3517, allocations: 27.98 kB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.3521, allocations: 71.41 kB / 440.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.3546, allocations: 1.955 MB / 442.4 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.3547, allocations: 123.2 kB / 442.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.191e-05/0.3548, allocations: 25.62 kB / 442.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.45e-05/0.3549, allocations: 47.42 kB / 442.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3549, allocations: 3.938 kB / 442.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.3869, allocations: 5.389 MB / 447.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.21, allocations: 4.062 kB / 448 MB, free: 5.473 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! Error: Could not read variable subSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv. Warning: Get data of variable subSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.952204961999087]