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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001847/0.001847, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002116/0.002116, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 71.81 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2846, allocations: 50.54 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003677/0.2883, allocations: 1.905 MB / 410.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.2906, allocations: 1.188 MB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.2908, allocations: 0 / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006288/0.2915, allocations: 147.5 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.2919, allocations: 155.4 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.2924, allocations: 167.5 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000284/0.2927, allocations: 195.4 kB / 412.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.2928, allocations: 33.53 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.2929, allocations: 71.64 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.2931, allocations: 75.67 kB / 412.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.2931, allocations: 8 kB / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.2933, allocations: 59.98 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.95e-05/0.2933, allocations: 47.77 kB / 412.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.383e-05/0.2934, allocations: 71.48 kB / 412.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.2938, allocations: 210.3 kB / 413.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2938, allocations: 0 / 413.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2938, allocations: 0 / 413.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2938, allocations: 4 kB / 413.1 MB, free: 13.22 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.0008535/0.2947, allocations: 0.5193 MB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2947, allocations: 8.031 kB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.079e-05/0.2948, allocations: 46.73 kB / 413.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.2949, allocations: 20.8 kB / 413.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.2952, allocations: 271 kB / 413.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.2953, allocations: 4.375 kB / 413.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.2953, allocations: 11.94 kB / 413.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.2956, allocations: 146.7 kB / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2957, allocations: 0 / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.2957, allocations: 11.92 kB / 414.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2957, allocations: 0 / 414.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.97e-05/0.2958, allocations: 27.98 kB / 414.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.2964, allocations: 374.3 kB / 414.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.2966, allocations: 103.9 kB / 414.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.931e-05/0.2967, allocations: 50.56 kB / 414.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.2967, allocations: 0 / 414.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.2969, allocations: 79.31 kB / 414.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.2969, allocations: 0 / 414.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003886/0.2973, allocations: 149.5 kB / 414.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.2974, allocations: 128.5 kB / 415 MB, free: 11.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.2978, allocations: 276.9 kB / 415.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.2978, allocations: 25.7 kB / 415.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2979, allocations: 120.1 kB / 415.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.2979, allocations: 19.89 kB / 415.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.298, allocations: 29.67 kB / 415.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.2982, allocations: 335 kB / 415.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.475e-05/0.2982, allocations: 27.92 kB / 415.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.2984, allocations: 66 kB / 415.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.2985, allocations: 80.25 kB / 415.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2985, allocations: 0 / 415.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002222/0.2988, allocations: 113.5 kB / 416.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2988, allocations: 4 kB / 416.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2988, allocations: 7.984 kB / 416.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2988, allocations: 128 / 416.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.2989, allocations: 16 kB / 416.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2989, allocations: 0 / 416.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.299, allocations: 15.83 kB / 416.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.299, allocations: 11.98 kB / 416.1 MB, free: 9.824 MB / 334.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.0001641/0.2992, allocations: 145.8 kB / 416.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-05/0.2993, allocations: 57.61 kB / 416.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.825e-05/0.2993, allocations: 26 kB / 416.3 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2994, allocations: 8.062 kB / 416.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2994, allocations: 0 / 416.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.2994, allocations: 7.938 kB / 416.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.2996, allocations: 241.5 kB / 416.6 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2996, allocations: 0 / 416.6 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.2997, allocations: 4 kB / 416.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2997, allocations: 0 / 416.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2997, allocations: 4 kB / 416.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.2997, allocations: 0 / 416.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2997, allocations: 0 / 416.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.3, allocations: 170.5 kB / 416.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3001, allocations: 105 kB / 416.9 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.3002, allocations: 8 kB / 416.9 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.109e-05/0.3002, allocations: 3.984 kB / 416.9 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.3003, allocations: 7.938 kB / 416.9 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.3003, allocations: 4 kB / 416.9 MB, free: 8.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.3005, allocations: 204.5 kB / 417.1 MB, free: 8.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3005, allocations: 0 / 417.1 MB, free: 8.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.3008, allocations: 35.92 kB / 417.1 MB, free: 8.703 MB / 334.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.002088/0.3029, allocations: 1.001 MB / 418.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.3032, allocations: 67.91 kB / 418.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3032, allocations: 0 / 418.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.3033, allocations: 24 kB / 418.2 MB, free: 7.719 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.3037, allocations: 74.81 kB / 418.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.306, allocations: 1.944 MB / 420.2 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.3064, allocations: 0.7319 MB / 421 MB, free: 4.828 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.883e-05/0.3065, allocations: 21.55 kB / 421 MB, free: 4.805 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/0.3066, allocations: 51.41 kB / 421 MB, free: 4.754 MB / 334.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3066, allocations: 4 kB / 421 MB, free: 4.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.3326, allocations: 4.616 MB / 425.7 MB, free: 268 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.426, allocations: 7.25 kB / 425.7 MB, free: 264 kB / 334.1 MB (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 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) 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) Reference file matches