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.00158/0.001579, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001957/0.001957, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.88 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.283, allocations: 50.54 MB / 408.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003984/0.2871, allocations: 1.901 MB / 410.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.2892, allocations: 1.192 MB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.2894, allocations: 7.938 kB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.29, allocations: 151.5 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.2903, allocations: 147.4 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.2908, allocations: 174.9 kB / 412.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.2911, allocations: 191.5 kB / 412.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2912, allocations: 25.55 kB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.2913, allocations: 83.62 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.2914, allocations: 67.7 kB / 412.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.2914, allocations: 8 kB / 412.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.2916, allocations: 67.95 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.2917, allocations: 43.78 kB / 412.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.713e-05/0.2918, allocations: 75.47 kB / 412.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.2921, allocations: 206.3 kB / 413.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2921, allocations: 0 / 413.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2921, allocations: 0 / 413.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.2921, allocations: 0 / 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.000716/0.2928, allocations: 0.5271 MB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2929, allocations: 8.031 kB / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.2929, allocations: 46.73 kB / 413.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.293, allocations: 20.8 kB / 413.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.2933, allocations: 271 kB / 413.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2933, allocations: 384 / 413.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.2934, allocations: 15.94 kB / 413.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.2937, allocations: 146.7 kB / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2937, allocations: 0 / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2937, allocations: 0 / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2937, allocations: 7.984 kB / 414.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.089e-05/0.2938, allocations: 27.98 kB / 414.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.2942, allocations: 378.3 kB / 414.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.2945, allocations: 103.9 kB / 414.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.875e-05/0.2946, allocations: 46.56 kB / 414.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.2946, allocations: 4 kB / 414.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.2947, allocations: 71.33 kB / 414.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.2948, allocations: 3.938 kB / 414.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003356/0.2951, allocations: 145.5 kB / 414.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.2952, allocations: 136.5 kB / 415 MB, free: 11.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.2955, allocations: 272.9 kB / 415.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.2955, allocations: 29.7 kB / 415.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.2956, allocations: 128.1 kB / 415.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.2956, allocations: 11.91 kB / 415.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.2957, allocations: 37.91 kB / 415.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2958, allocations: 330.8 kB / 415.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.96e-05/0.2959, allocations: 23.98 kB / 415.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.487e-05/0.296, allocations: 66 kB / 415.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.2961, allocations: 80.25 kB / 416 MB, free: 9.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2961, allocations: 0 / 416 MB, free: 9.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002084/0.2963, allocations: 117.5 kB / 416.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.2963, allocations: 4 kB / 416.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2963, allocations: 4 kB / 416.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.2964, allocations: 4.125 kB / 416.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.2964, allocations: 15.98 kB / 416.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2965, allocations: 0 / 416.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.2965, allocations: 15.83 kB / 416.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.2965, allocations: 4 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.0001269/0.2967, allocations: 154 kB / 416.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/0.2968, allocations: 65.59 kB / 416.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.812e-05/0.2968, allocations: 25.7 kB / 416.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2968, allocations: 4 kB / 416.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.2968, allocations: 4 kB / 416.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2968, allocations: 3.938 kB / 416.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.297, allocations: 225.5 kB / 416.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.2971, allocations: 4 kB / 416.6 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.2971, allocations: 7.984 kB / 416.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2971, allocations: 0 / 416.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.2971, allocations: 0 / 416.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2971, allocations: 4 kB / 416.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2971, allocations: 0 / 416.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.2974, allocations: 162.5 kB / 416.8 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9e-05/0.2975, allocations: 108.9 kB / 416.9 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.2975, allocations: 96 / 416.9 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/0.2976, allocations: 11.94 kB / 416.9 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.2976, allocations: 11.92 kB / 416.9 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.2976, allocations: 8 kB / 416.9 MB, free: 8.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.2978, allocations: 200.5 kB / 417.1 MB, free: 8.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2978, allocations: 0 / 417.1 MB, free: 8.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.2981, allocations: 31.94 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.0013/0.2994, allocations: 1.001 MB / 418.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.2996, allocations: 67.91 kB / 418.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2996, allocations: 0 / 418.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.564e-05/0.2997, allocations: 23.98 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.0003874/0.3, allocations: 85.36 kB / 418.3 MB, free: 7.641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.302, allocations: 1.94 MB / 420.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.3024, allocations: 0.7358 MB / 421 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.583e-05/0.3025, allocations: 21.8 kB / 421 MB, free: 4.797 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.3025, allocations: 43.42 kB / 421 MB, free: 4.754 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3025, allocations: 0 / 421 MB, free: 4.754 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.3232, allocations: 4.623 MB / 425.7 MB, free: 264 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.206, allocations: 4 kB / 425.7 MB, free: 260 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.0.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