Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00123/0.00123, 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.001751/0.001751, 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.378/1.378, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.88 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2384, allocations: 50.54 MB / 408.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002734/0.2411, allocations: 1.49 MB / 410.2 MB, free: 88 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000374/0.2415, allocations: 131.7 kB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.2416, allocations: 4 kB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.355e-05/0.2417, allocations: 7.922 kB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.2418, allocations: 3.938 kB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.2421, allocations: 39.53 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.987e-05/0.2422, allocations: 23.92 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.298e-05/0.2423, allocations: 15.98 kB / 410.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.771e-05/0.2423, allocations: 11.83 kB / 410.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.712e-05/0.2423, allocations: 15.92 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.2424, allocations: 4 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-06/0.2424, allocations: 0 / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.2424, allocations: 11.92 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.2425, allocations: 19.88 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.2426, allocations: 42.86 kB / 410.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2426, allocations: 0 / 410.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.2426, allocations: 0 / 410.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.2426, allocations: 3.938 kB / 410.6 MB, free: 15.76 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004019/0.243, allocations: 359.2 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.243, allocations: 15.97 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.2431, allocations: 34.75 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.2431, allocations: 4.891 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.2433, allocations: 196.2 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2434, allocations: 384 / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.2434, allocations: 4.375 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.2436, allocations: 93.61 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.2436, allocations: 11.92 kB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.2436, allocations: 0 / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2436, allocations: 0 / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.235e-05/0.2437, allocations: 12 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.244, allocations: 257.8 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.815e-05/0.2441, allocations: 45.16 kB / 411.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.2441, allocations: 13.78 kB / 411.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.2441, allocations: 3.938 kB / 411.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.2442, allocations: 34.55 kB / 411.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.2442, allocations: 0 / 411.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001915/0.2444, allocations: 65.58 kB / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.2444, allocations: 81.11 kB / 411.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.68e-05/0.2445, allocations: 125.8 kB / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.2445, allocations: 25.7 kB / 411.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.2446, allocations: 84.14 kB / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.2446, allocations: 7.953 kB / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.2446, allocations: 25.95 kB / 412 MB, free: 14.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.2447, allocations: 314.8 kB / 412.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.2448, allocations: 4 kB / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.944e-05/0.2448, allocations: 17.72 kB / 412.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.051e-05/0.2449, allocations: 25.64 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2449, allocations: 8 kB / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.717e-05/0.245, allocations: 45.69 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.245, allocations: 6.969 kB / 412.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.245, allocations: 0 / 412.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.245, allocations: 3.938 kB / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.294e-05/0.245, allocations: 4 kB / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.245, allocations: 0 / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.2451, allocations: 0 / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.2451, allocations: 4 kB / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.117e-05/0.2452, allocations: 133.7 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.2452, allocations: 33.66 kB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.2453, allocations: 15.48 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2453, allocations: 0 / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2453, allocations: 3.984 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2453, allocations: 4 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.2454, allocations: 165.6 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2455, allocations: 0 / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-06/0.2455, allocations: 0 / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2455, allocations: 7.969 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.2455, allocations: 0 / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.345e-06/0.2455, allocations: 7.984 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2455, allocations: 0 / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.2456, allocations: 152.3 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.2457, allocations: 89.06 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2457, allocations: 12.02 kB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.321e-05/0.2458, allocations: 0 / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.2458, allocations: 0 / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.2458, allocations: 4 kB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.059e-05/0.2459, allocations: 106.4 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2459, allocations: 0 / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.2461, allocations: 4 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003943/0.2465, allocations: 0.6937 MB / 413.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.2467, allocations: 15.88 kB / 413.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2467, allocations: 0 / 413.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/0.2467, allocations: 11.98 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.247, allocations: 12.25 kB / 413.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.2481, allocations: 1.256 MB / 415.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.2483, allocations: 0.6846 MB / 415.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.98e-05/0.2484, allocations: 0 / 415.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.2484, allocations: 19.47 kB / 415.9 MB, free: 9.914 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2484, allocations: 0 / 415.9 MB, free: 9.914 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.2649, allocations: 1.372 MB / 417.3 MB, free: 8.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.804, allocations: 10.58 kB / 417.3 MB, free: 8.672 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_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_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sample1.y Variables in the result:time,step.startTime,periodicClock.factor,periodicClock.resolution,sample1.u,sample1.y