Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002114/0.002114, allocations: 216.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 47.92 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2786, allocations: 53.37 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002713/0.2813, allocations: 1.454 MB / 432.6 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002969/0.2816, allocations: 95.69 kB / 432.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.2816, allocations: 7.938 kB / 432.7 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.2817, allocations: 7.984 kB / 432.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.478e-05/0.2817, allocations: 3.938 kB / 432.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.282, allocations: 23.91 kB / 432.7 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.522e-05/0.282, allocations: 19.94 kB / 432.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.2822, allocations: 15.92 kB / 432.8 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.217e-05/0.2822, allocations: 8 kB / 432.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.519e-05/0.2822, allocations: 15.91 kB / 432.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.2823, allocations: 0 / 432.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.2823, allocations: 4 kB / 432.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.2823, allocations: 7.938 kB / 432.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.2823, allocations: 15.94 kB / 432.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.167e-05/0.2824, allocations: 23.7 kB / 432.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2824, allocations: 4 kB / 432.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2824, allocations: 0 / 432.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2824, allocations: 0 / 432.8 MB, free: 5.152 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.0004161/0.2828, allocations: 258.9 kB / 433.1 MB, free: 4.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2829, allocations: 8.031 kB / 433.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.2829, allocations: 34.73 kB / 433.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.283, allocations: 4.938 kB / 433.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.2832, allocations: 130.4 kB / 433.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.2832, allocations: 8.312 kB / 433.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2832, allocations: 384 / 433.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.2835, allocations: 99.88 kB / 433.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2835, allocations: 3.938 kB / 433.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.2835, allocations: 3.984 kB / 433.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2835, allocations: 4 kB / 433.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.906e-05/0.2836, allocations: 12 kB / 433.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.2837, allocations: 128.7 kB / 433.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.2838, allocations: 46.5 kB / 433.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.2839, allocations: 20.83 kB / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.2839, allocations: 48 / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.2839, allocations: 42.55 kB / 433.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.2839, allocations: 0 / 433.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001945/0.2841, allocations: 69.58 kB / 433.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.2842, allocations: 51.41 kB / 433.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.2843, allocations: 113.8 kB / 433.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.2843, allocations: 25.7 kB / 433.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.2843, allocations: 80.14 kB / 434 MB, free: 3.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.735e-06/0.2843, allocations: 8 kB / 434 MB, free: 3.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.2844, allocations: 17.7 kB / 434 MB, free: 3.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2845, allocations: 314.8 kB / 434.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.2845, allocations: 7.938 kB / 434.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-05/0.2845, allocations: 23.62 kB / 434.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.709e-05/0.2846, allocations: 43.36 kB / 434.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2846, allocations: 0 / 434.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.008e-05/0.2847, allocations: 53.73 kB / 434.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2847, allocations: 11.92 kB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2847, allocations: 0 / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2847, allocations: 7.984 kB / 434.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.168e-05/0.2848, allocations: 4.125 kB / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2848, allocations: 4 kB / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.2848, allocations: 0 / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.2848, allocations: 4 kB / 434.5 MB, free: 3.32 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 8.049e-05/0.2849, allocations: 109.8 kB / 434.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.285, allocations: 61.58 kB / 434.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.285, allocations: 3.688 kB / 434.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.285, allocations: 4 kB / 434.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.285, allocations: 7.984 kB / 434.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.285, allocations: 0 / 434.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.659e-05/0.2851, allocations: 124.8 kB / 434.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2851, allocations: 0 / 434.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.846e-05/0.2851, allocations: 0 / 434.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.2851, allocations: 3.938 kB / 434.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.2851, allocations: 8 kB / 434.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2851, allocations: 0 / 434.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2851, allocations: 0 / 434.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.2853, allocations: 85.05 kB / 434.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.2853, allocations: 7.953 kB / 434.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2853, allocations: 3.938 kB / 434.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.864e-05/0.2853, allocations: 256 / 434.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-06/0.2853, allocations: 7.875 kB / 434.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.2853, allocations: 8 kB / 434.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.69e-05/0.2854, allocations: 87.27 kB / 435 MB, free: 2.727 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2854, allocations: 0 / 435 MB, free: 2.727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001823/0.2856, allocations: 0 / 435 MB, free: 2.727 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.0004543/0.286, allocations: 0.624 MB / 435.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.2861, allocations: 19.98 kB / 435.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2861, allocations: 0 / 435.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.6e-07/0.2861, allocations: 0 / 435.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.2863, allocations: 28.17 kB / 435.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.2874, allocations: 1.142 MB / 436.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.2876, allocations: 0.6807 MB / 437.5 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.488e-05/0.2877, allocations: 4 kB / 437.5 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.2877, allocations: 15.8 kB / 437.5 MB, free: 56 kB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2877, allocations: 0 / 437.5 MB, free: 56 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.316, allocations: 1.36 MB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.15, allocations: 0 / 438.8 MB, free: 14.83 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/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_4.1.0_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.675334970932454]