Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001738/0.001738, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002211/0.002211, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.511/1.511, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 71.89 kB / 377.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2877, allocations: 53.42 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003178/0.2908, allocations: 1.444 MB / 432.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003458/0.2912, allocations: 99.62 kB / 432.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.2913, allocations: 0 / 432.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.2913, allocations: 3.938 kB / 432.7 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.2914, allocations: 8 kB / 432.7 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.2917, allocations: 19.91 kB / 432.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.2918, allocations: 27.92 kB / 432.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.2919, allocations: 15.92 kB / 432.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.002e-05/0.292, allocations: 4 kB / 432.8 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.292, allocations: 11.94 kB / 432.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.2921, allocations: 0 / 432.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.2921, allocations: 4 kB / 432.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.2921, allocations: 7.922 kB / 432.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.2921, allocations: 8 kB / 432.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2923, allocations: 35.62 kB / 432.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.2923, allocations: 0 / 432.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2923, allocations: 7.938 kB / 432.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.2923, allocations: 0 / 432.8 MB, free: 4.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000623/0.2929, allocations: 258.9 kB / 433.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.092e-05/0.293, allocations: 11.98 kB / 433.1 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.458e-05/0.2931, allocations: 30.75 kB / 433.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.2931, allocations: 4.938 kB / 433.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.2935, allocations: 126.4 kB / 433.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.2935, allocations: 4.375 kB / 433.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.2935, allocations: 4.375 kB / 433.3 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.2939, allocations: 99.88 kB / 433.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.2939, allocations: 3.938 kB / 433.4 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2939, allocations: 4 kB / 433.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.2939, allocations: 0 / 433.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.329e-05/0.294, allocations: 15.98 kB / 433.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.2942, allocations: 124.8 kB / 433.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.2943, allocations: 50.48 kB / 433.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.651e-05/0.2944, allocations: 24.92 kB / 433.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.2944, allocations: 4 kB / 433.6 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.2944, allocations: 30.56 kB / 433.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.2945, allocations: 0 / 433.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002195/0.2947, allocations: 65.58 kB / 433.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.2947, allocations: 63.33 kB / 433.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.345e-05/0.2948, allocations: 97.86 kB / 433.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.2948, allocations: 25.7 kB / 433.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.2949, allocations: 96.12 kB / 434 MB, free: 3.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.2949, allocations: 3.984 kB / 434 MB, free: 3.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.2949, allocations: 13.72 kB / 434 MB, free: 3.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2951, allocations: 314.8 kB / 434.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.2951, allocations: 4 kB / 434.3 MB, free: 3.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.696e-05/0.2951, allocations: 31.42 kB / 434.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.351e-05/0.2952, allocations: 31.38 kB / 434.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2952, allocations: 4 kB / 434.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.825e-05/0.2953, allocations: 61.56 kB / 434.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2953, allocations: 7.938 kB / 434.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2953, allocations: 4 kB / 434.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2953, allocations: 256 / 434.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.2953, allocations: 7.938 kB / 434.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2954, allocations: 4 kB / 434.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.2954, allocations: 0 / 434.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.2954, allocations: 4 kB / 434.4 MB, free: 2.945 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.285e-05/0.2955, allocations: 118 kB / 434.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/0.2956, allocations: 53.58 kB / 434.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.2956, allocations: 15.61 kB / 434.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.2956, allocations: 0 / 434.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.2956, allocations: 0 / 434.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2956, allocations: 0 / 434.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.2957, allocations: 124.8 kB / 434.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2957, allocations: 0 / 434.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.2957, allocations: 7.938 kB / 434.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2957, allocations: 3.938 kB / 434.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.2957, allocations: 4 kB / 434.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2957, allocations: 0 / 434.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2957, allocations: 0 / 434.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.2959, allocations: 77.12 kB / 434.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.2959, allocations: 11.94 kB / 434.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.2959, allocations: 3.938 kB / 434.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.775e-05/0.2959, allocations: 4 kB / 434.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-06/0.2959, allocations: 384 / 434.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.2959, allocations: 0 / 434.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.563e-05/0.296, allocations: 79.28 kB / 434.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.296, allocations: 0 / 434.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001815/0.2962, allocations: 12 kB / 434.9 MB, free: 2.359 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004639/0.2966, allocations: 0.6279 MB / 435.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.2967, allocations: 23.92 kB / 435.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2967, allocations: 0 / 435.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.2967, allocations: 0 / 435.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.297, allocations: 23.95 kB / 435.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.298, allocations: 1.161 MB / 436.8 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.085e-05/0.2981, allocations: 63.34 kB / 436.8 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.341e-05/0.2981, allocations: 96 / 436.8 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.2981, allocations: 11.38 kB / 436.8 MB, free: 308 kB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2981, allocations: 4 kB / 436.9 MB, free: 304 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.3266, allocations: 1.745 MB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.27, allocations: 0 / 438.6 MB, free: 14.66 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.91749699600041]