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.0009085/0.0009085, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001459/0.001459, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9119/0.9119, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.573e-06/1.573e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.06e-05, allocations: 2.844 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002754/0.002775, allocations: 1.882 MB / 326.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.004217, allocations: 1.145 MB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.00438, allocations: 7.938 kB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007616/0.005141, allocations: 151.4 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.005513, allocations: 163.3 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.005938, allocations: 170.7 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.006186, allocations: 195.4 kB / 328.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.006292, allocations: 17.8 kB / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.006425, allocations: 107.7 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.392e-05/0.006519, allocations: 63.8 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.006538, allocations: 8 kB / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.006661, allocations: 55.91 kB / 328.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.006723, allocations: 55.77 kB / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.006772, allocations: 35.86 kB / 328.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.007035, allocations: 211.3 kB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.007037, allocations: 0 / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.007038, allocations: 0 / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.007042, allocations: 0 / 328.8 MB, free: 11.62 MB / 298.7 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.0006242/0.007666, allocations: 446.7 kB / 329.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.007706, allocations: 15.98 kB / 329.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.007738, allocations: 38.73 kB / 329.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.007782, allocations: 20.8 kB / 329.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.008044, allocations: 220.8 kB / 329.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.008062, allocations: 4.375 kB / 329.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.008075, allocations: 4.375 kB / 329.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.008328, allocations: 138.4 kB / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.008336, allocations: 192 / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.008348, allocations: 12.06 kB / 329.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.008353, allocations: 4 kB / 329.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/0.008424, allocations: 39.91 kB / 329.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.008801, allocations: 325.5 kB / 330 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.008956, allocations: 107.8 kB / 330.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.009005, allocations: 42.56 kB / 330.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.009031, allocations: 7.875 kB / 330.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.009153, allocations: 75.39 kB / 330.2 MB, free: 9.965 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.009154, allocations: 4 kB / 330.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002632/0.009417, allocations: 149.4 kB / 330.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.009477, allocations: 110.8 kB / 330.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.009684, allocations: 269.9 kB / 330.8 MB, free: 9.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.009699, allocations: 29.7 kB / 330.8 MB, free: 9.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.009767, allocations: 116.1 kB / 330.9 MB, free: 9.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.009787, allocations: 15.89 kB / 330.9 MB, free: 9.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.009825, allocations: 29.67 kB / 330.9 MB, free: 9.199 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003946/0.01022, allocations: 331.1 kB / 331.3 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.01026, allocations: 20 kB / 331.3 MB, free: 8.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.01031, allocations: 68.27 kB / 331.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.905e-05/0.01038, allocations: 57.58 kB / 331.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01038, allocations: 4 kB / 331.4 MB, free: 8.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001106/0.01049, allocations: 97.58 kB / 331.5 MB, free: 8.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.01051, allocations: 4 kB / 331.5 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01051, allocations: 0 / 331.5 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.01052, allocations: 4 kB / 331.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.01058, allocations: 19.98 kB / 331.5 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.01059, allocations: 160 / 331.5 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.711e-05/0.01062, allocations: 7.938 kB / 331.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.01063, allocations: 7.984 kB / 331.5 MB, free: 8.555 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.533e-05/0.01072, allocations: 142.1 kB / 331.7 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.01077, allocations: 73.47 kB / 331.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.01092, allocations: 115.5 kB / 331.9 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01093, allocations: 0 / 331.9 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.01094, allocations: 4.062 kB / 331.9 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01094, allocations: 4 kB / 331.9 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.01108, allocations: 188.6 kB / 332.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01109, allocations: 3.938 kB / 332.1 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.01111, allocations: 11.92 kB / 332.1 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01111, allocations: 4 kB / 332.1 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.01112, allocations: 0 / 332.1 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01112, allocations: 0 / 332.1 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01112, allocations: 4 kB / 332.1 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.01127, allocations: 170.5 kB / 332.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.01132, allocations: 31.84 kB / 332.3 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.01135, allocations: 8 kB / 332.3 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.221e-05/0.01138, allocations: 0 / 332.3 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.01142, allocations: 11.98 kB / 332.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.01143, allocations: 4 kB / 332.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.01157, allocations: 205.2 kB / 332.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01157, allocations: 0 / 332.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000193/0.01176, allocations: 27.92 kB / 332.5 MB, free: 7.484 MB / 298.7 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.0009862/0.01275, allocations: 1.03 MB / 333.6 MB, free: 6.566 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.0129, allocations: 63.91 kB / 333.6 MB, free: 6.504 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0129, allocations: 3.938 kB / 333.6 MB, free: 6.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/0.01295, allocations: 31.92 kB / 333.7 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.01323, allocations: 59.3 kB / 333.7 MB, free: 6.422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.01474, allocations: 1.91 MB / 335.6 MB, free: 4.398 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.307e-05/0.01482, allocations: 123.7 kB / 335.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.557e-05/0.0149, allocations: 21.62 kB / 335.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.01497, allocations: 56.42 kB / 335.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01497, allocations: 0 / 335.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.03633, allocations: 5.459 MB / 341.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.81/6.846, allocations: 7.938 kB / 341.3 MB, free: 14.75 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/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: 8.696600426919758]