Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001334/0.001334, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001372/0.001372, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.529/1.529, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 59.91 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.317, allocations: 53.4 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00295/0.32, allocations: 1.432 MB / 433.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001984/0.3202, allocations: 39.84 kB / 433.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.3202, allocations: 0 / 433.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.3203, allocations: 7.938 kB / 433.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.954e-05/0.3203, allocations: 3.984 kB / 433.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3206, allocations: 19.98 kB / 433.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.756e-05/0.3207, allocations: 31.86 kB / 433.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.3208, allocations: 11.98 kB / 433.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.783e-05/0.3209, allocations: 8 kB / 433.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.3209, allocations: 15.92 kB / 433.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.3209, allocations: 0 / 433.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.3209, allocations: 4 kB / 433.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.321, allocations: 7.938 kB / 433.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.321, allocations: 11.92 kB / 433.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.3211, allocations: 35.89 kB / 433.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3211, allocations: 3.938 kB / 433.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3211, allocations: 3.938 kB / 433.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.3211, allocations: 0 / 433.5 MB, free: 4.824 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.0004546/0.3216, allocations: 260.6 kB / 433.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.3216, allocations: 12.03 kB / 433.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.481e-05/0.3216, allocations: 4.188 kB / 433.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.3217, allocations: 30.75 kB / 433.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.3217, allocations: 4.938 kB / 433.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.322, allocations: 126.4 kB / 434 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.322, allocations: 8.375 kB / 434 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.322, allocations: 384 / 434 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.3224, allocations: 119.6 kB / 434.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3224, allocations: 0 / 434.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.3224, allocations: 0 / 434.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3224, allocations: 7.938 kB / 434.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3225, allocations: 19.98 kB / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.3227, allocations: 124.8 kB / 434.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.3229, allocations: 54.55 kB / 434.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.792e-05/0.323, allocations: 20.92 kB / 434.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.323, allocations: 4 kB / 434.3 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.323, allocations: 34.5 kB / 434.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.323, allocations: 0 / 434.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002935/0.3233, allocations: 81.55 kB / 434.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.3234, allocations: 55.41 kB / 434.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3235, allocations: 105.8 kB / 434.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.3235, allocations: 29.7 kB / 434.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.3236, allocations: 84.14 kB / 434.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.3236, allocations: 3.984 kB / 434.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.3236, allocations: 21.72 kB / 434.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3238, allocations: 314.8 kB / 435 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.3238, allocations: 4 kB / 435 MB, free: 3.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.3238, allocations: 35.42 kB / 435.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/0.3239, allocations: 35.38 kB / 435.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3239, allocations: 0 / 435.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.589e-05/0.324, allocations: 69.52 kB / 435.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.324, allocations: 7.938 kB / 435.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.324, allocations: 0 / 435.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.324, allocations: 4 kB / 435.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.3241, allocations: 4 kB / 435.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3241, allocations: 0 / 435.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.3241, allocations: 4 kB / 435.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3241, allocations: 4 kB / 435.2 MB, free: 2.941 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.918e-05/0.3242, allocations: 117.8 kB / 435.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.3244, allocations: 69.69 kB / 435.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.3244, allocations: 7.672 kB / 435.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3244, allocations: 0 / 435.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3244, allocations: 0 / 435.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3244, allocations: 0 / 435.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.3245, allocations: 125.1 kB / 435.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3245, allocations: 0 / 435.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.3245, allocations: 8 kB / 435.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3245, allocations: 3.938 kB / 435.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3246, allocations: 4 kB / 435.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3246, allocations: 0 / 435.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3246, allocations: 4 kB / 435.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.3247, allocations: 96.94 kB / 435.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.3247, allocations: 7.938 kB / 435.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3248, allocations: 3.984 kB / 435.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.769e-05/0.3248, allocations: 4 kB / 435.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-06/0.3248, allocations: 0 / 435.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3248, allocations: 0 / 435.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.977e-05/0.3248, allocations: 83.28 kB / 435.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3248, allocations: 0 / 435.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001821/0.325, allocations: 4 kB / 435.7 MB, free: 2.332 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0006063/0.3256, allocations: 0.6475 MB / 436.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.3258, allocations: 31.92 kB / 436.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3258, allocations: 0 / 436.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.3258, allocations: 0 / 436.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.326, allocations: 23.92 kB / 436.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.3271, allocations: 1.166 MB / 437.6 MB, free: 340 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.897e-05/0.3272, allocations: 67.66 kB / 437.7 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.203e-05/0.3272, allocations: 7.984 kB / 437.7 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.3272, allocations: 7.438 kB / 437.7 MB, free: 236 kB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3272, allocations: 0 / 437.7 MB, free: 236 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.3494, allocations: 1.489 MB / 439.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.03, allocations: 11.05 kB / 439.2 MB, free: 14.86 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.671269081067294]