Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001781/0.001781, allocations: 132.4 kB / 17.79 MB, free: 5.242 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.001881/0.001881, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.42/1.42, allocations: 230.4 MB / 254 MB, free: 15.01 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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 72.08 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1123, allocations: 53.37 MB / 426.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.0035/0.1158, allocations: 1.913 MB / 428.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.1179, allocations: 1.235 MB / 429.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.118, allocations: 3.938 kB / 429.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006437/0.1186, allocations: 159.5 kB / 429.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.119, allocations: 155.4 kB / 429.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.1196, allocations: 177.8 kB / 430 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.1198, allocations: 179.5 kB / 430.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.12, allocations: 25.55 kB / 430.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1201, allocations: 83.56 kB / 430.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.1202, allocations: 83.67 kB / 430.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.1202, allocations: 8 kB / 430.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1204, allocations: 59.97 kB / 430.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.1204, allocations: 39.78 kB / 430.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.126e-05/0.1205, allocations: 79.47 kB / 430.5 MB, free: 436 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.1209, allocations: 211.1 kB / 430.7 MB, free: 224 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1209, allocations: 0 / 430.7 MB, free: 224 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1209, allocations: 0 / 430.7 MB, free: 224 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1209, allocations: 0 / 430.7 MB, free: 224 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.2218/0.3428, allocations: 0.5178 MB / 431.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3428, allocations: 8.031 kB / 431.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.3428, allocations: 38.91 kB / 431.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.3429, allocations: 22.05 kB / 431.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.3433, allocations: 272.2 kB / 431.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3433, allocations: 3.391 kB / 431.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.3433, allocations: 8.656 kB / 431.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.3436, allocations: 142.9 kB / 431.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3436, allocations: 4.75 kB / 431.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3436, allocations: 7 kB / 431.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3436, allocations: 1.188 kB / 431.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3437, allocations: 34.44 kB / 431.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.3442, allocations: 366.1 kB / 432.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.3444, allocations: 106.2 kB / 432.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.704e-05/0.3445, allocations: 44.66 kB / 432.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3445, allocations: 1.531 kB / 432.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.3446, allocations: 73.03 kB / 432.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3446, allocations: 0 / 432.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000383/0.345, allocations: 145.1 kB / 432.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.3451, allocations: 140.9 kB / 432.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.3454, allocations: 274 kB / 432.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.3454, allocations: 29.2 kB / 432.9 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.3454, allocations: 114.1 kB / 433 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.3454, allocations: 24.08 kB / 433.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.3455, allocations: 35.77 kB / 433.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.837e-05/0.3455, allocations: 331.3 kB / 433.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.3456, allocations: 21.88 kB / 433.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-05/0.3457, allocations: 67.86 kB / 433.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.3458, allocations: 80.61 kB / 433.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3458, allocations: 0 / 433.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002055/0.346, allocations: 117.7 kB / 433.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.346, allocations: 5.5 kB / 433.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.346, allocations: 1.75 kB / 433.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.346, allocations: 1.094 kB / 433.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.335e-05/0.3461, allocations: 12.75 kB / 433.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.3461, allocations: 5.516 kB / 433.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.3462, allocations: 10.53 kB / 433.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3462, allocations: 4.156 kB / 433.8 MB, free: 9.445 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 9.322e-05/0.3463, allocations: 147.5 kB / 433.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.3464, allocations: 65.08 kB / 434 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.3464, allocations: 28.67 kB / 434 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3464, allocations: 2.844 kB / 434 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3464, allocations: 1.906 kB / 434 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3464, allocations: 1.312 kB / 434 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.3466, allocations: 231.2 kB / 434.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3466, allocations: 1.094 kB / 434.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.3466, allocations: 12.94 kB / 434.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3466, allocations: 0 / 434.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3466, allocations: 1.906 kB / 434.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3466, allocations: 5.203 kB / 434.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3466, allocations: 480 / 434.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.3468, allocations: 156 kB / 434.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.3469, allocations: 113.3 kB / 434.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.3469, allocations: 5.828 kB / 434.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.347, allocations: 5.484 kB / 434.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.347, allocations: 7.438 kB / 434.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.347, allocations: 10.42 kB / 434.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.3472, allocations: 200.1 kB / 434.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3472, allocations: 1.156 kB / 434.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.3474, allocations: 28.39 kB / 434.8 MB, free: 8.797 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.001686/0.3491, allocations: 1.006 MB / 435.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.3493, allocations: 63.77 kB / 435.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3493, allocations: 0 / 435.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.539e-05/0.3494, allocations: 21.73 kB / 435.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.3497, allocations: 74.33 kB / 435.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.3515, allocations: 1.95 MB / 437.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.3516, allocations: 0.7305 MB / 438.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.895e-05/0.3517, allocations: 27.02 kB / 438.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.611e-05/0.3518, allocations: 50.84 kB / 438.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3518, allocations: 0 / 438.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.3797, allocations: 4.662 MB / 443.3 MB, free: 5.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/7.943, allocations: 10.23 kB / 443.3 MB, free: 5.223 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.474134290008806]