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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 110 kB / 20.43 MB, free: 1.453 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.001457/0.001457, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.418/1.418, allocations: 230.5 MB / 257.4 MB, free: 7.977 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.89 kB / 377.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.286, allocations: 53.4 MB / 431.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00289/0.2889, allocations: 1.522 MB / 432.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003834/0.2892, allocations: 135.5 kB / 432.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.2893, allocations: 7.938 kB / 432.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.32e-05/0.2894, allocations: 3.938 kB / 432.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.2895, allocations: 7.922 kB / 432.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.2897, allocations: 43.28 kB / 432.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.2898, allocations: 27.92 kB / 432.9 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.55e-05/0.2899, allocations: 8 kB / 432.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.29, allocations: 15.92 kB / 432.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.788e-05/0.29, allocations: 3.938 kB / 432.9 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.29, allocations: 4 kB / 433 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-06/0.29, allocations: 3.938 kB / 433 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.2901, allocations: 15.98 kB / 433 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.2901, allocations: 19.81 kB / 433 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.2902, allocations: 47.61 kB / 433 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2902, allocations: 0 / 433 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2902, allocations: 0 / 433 MB, free: 4.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2902, allocations: 0 / 433 MB, free: 4.789 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.0004289/0.2907, allocations: 278.7 kB / 433.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2907, allocations: 8.031 kB / 433.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.2908, allocations: 42.67 kB / 433.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.2908, allocations: 8.891 kB / 433.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.291, allocations: 134.4 kB / 433.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.291, allocations: 384 / 433.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.291, allocations: 4.375 kB / 433.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.2913, allocations: 89.61 kB / 433.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2913, allocations: 7.938 kB / 433.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2913, allocations: 0 / 433.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.2913, allocations: 0 / 433.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.443e-05/0.2913, allocations: 12 kB / 433.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.2917, allocations: 232.8 kB / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.075e-05/0.2918, allocations: 45.16 kB / 433.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.2918, allocations: 13.78 kB / 433.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.2918, allocations: 0 / 433.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.2918, allocations: 42.48 kB / 433.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.2918, allocations: 0 / 433.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002196/0.2921, allocations: 61.8 kB / 434 MB, free: 3.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.2921, allocations: 81.14 kB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2923, allocations: 129.1 kB / 434.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.2923, allocations: 29.7 kB / 434.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.2923, allocations: 88.08 kB / 434.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.2923, allocations: 7.891 kB / 434.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.2924, allocations: 17.72 kB / 434.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2925, allocations: 314.8 kB / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.2926, allocations: 12 kB / 434.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.832e-05/0.2926, allocations: 13.72 kB / 434.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.624e-05/0.2926, allocations: 29.64 kB / 434.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.2926, allocations: 3.938 kB / 434.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.966e-05/0.2927, allocations: 45.78 kB / 434.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2928, allocations: 4 kB / 434.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2928, allocations: 0 / 434.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2928, allocations: 4 kB / 434.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.669e-05/0.2928, allocations: 3.938 kB / 434.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2928, allocations: 0 / 434.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.269e-05/0.2928, allocations: 0 / 434.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2928, allocations: 4 kB / 434.8 MB, free: 2.824 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 0.0001004/0.2929, allocations: 121.8 kB / 434.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.293, allocations: 41.69 kB / 434.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.293, allocations: 11.42 kB / 434.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.293, allocations: 0 / 434.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.293, allocations: 11.97 kB / 435 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.293, allocations: 0 / 435 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.2932, allocations: 140.7 kB / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2932, allocations: 0 / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-06/0.2932, allocations: 0 / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2932, allocations: 0 / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2932, allocations: 4 kB / 435.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2932, allocations: 3.938 kB / 435.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2932, allocations: 4.031 kB / 435.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.2934, allocations: 156.3 kB / 435.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.2934, allocations: 11.95 kB / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.2934, allocations: 0 / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.2935, allocations: 4 kB / 435.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.2935, allocations: 8.016 kB / 435.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.2935, allocations: 0 / 435.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.432e-05/0.2936, allocations: 107.2 kB / 435.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2936, allocations: 3.938 kB / 435.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.2938, allocations: 4 kB / 435.4 MB, free: 2.121 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.0004696/0.2943, allocations: 0.682 MB / 436.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.2944, allocations: 15.98 kB / 436.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2944, allocations: 3.938 kB / 436.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.2944, allocations: 7.938 kB / 436.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.2947, allocations: 18.67 kB / 436.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.2959, allocations: 1.253 MB / 437.4 MB, free: 24 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.2962, allocations: 0.6807 MB / 438.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.906e-05/0.2963, allocations: 3.984 kB / 438.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.2963, allocations: 15.44 kB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2963, allocations: 0 / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.3242, allocations: 1.468 MB / 439.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.86, allocations: 3.859 kB / 439.5 MB, free: 13.94 MB / 350.1 MB " [Timeout remaining time 649] (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 3.99122e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:time,step.startTime,periodicClock.factor,periodicClock.resolution,sample1.u,sample1.y [Calling sys.exit(0), Time elapsed: 13.465801999001997]