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.001396/0.001396, 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.001688/0.001688, allocations: 214.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.495/1.495, allocations: 230.5 MB / 257.4 MB, free: 7.785 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 63.89 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3107, allocations: 53.41 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003347/0.314, allocations: 1.44 MB / 432.6 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002687/0.3143, allocations: 39.84 kB / 432.6 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.3144, allocations: 0 / 432.6 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.3144, allocations: 3.938 kB / 432.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.3145, allocations: 0 / 432.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.3148, allocations: 27.92 kB / 432.6 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.3149, allocations: 27.97 kB / 432.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.315, allocations: 11.78 kB / 432.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.315, allocations: 11.94 kB / 432.7 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.12e-05/0.3151, allocations: 15.92 kB / 432.7 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.3151, allocations: 0 / 432.7 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.3151, allocations: 4 kB / 432.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.3151, allocations: 0 / 432.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.3152, allocations: 15.92 kB / 432.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.3153, allocations: 31.89 kB / 432.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3153, allocations: 3.938 kB / 432.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3153, allocations: 4 kB / 432.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3153, allocations: 0 / 432.8 MB, free: 4.816 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.0004452/0.3157, allocations: 260.1 kB / 433 MB, free: 4.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.3158, allocations: 19.97 kB / 433 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.3159, allocations: 34.75 kB / 433.1 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.3159, allocations: 4.938 kB / 433.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.3162, allocations: 122.4 kB / 433.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.3162, allocations: 384 / 433.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.3162, allocations: 4.375 kB / 433.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.3166, allocations: 119.8 kB / 433.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.3166, allocations: 3.938 kB / 433.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3166, allocations: 0 / 433.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.3166, allocations: 0 / 433.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.3168, allocations: 23.92 kB / 433.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.3169, allocations: 128.8 kB / 433.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.3171, allocations: 46.55 kB / 433.5 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.955e-05/0.3172, allocations: 24.92 kB / 433.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.3172, allocations: 0 / 433.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.3173, allocations: 42.5 kB / 433.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.3173, allocations: 0 / 433.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003101/0.3176, allocations: 81.5 kB / 433.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.3176, allocations: 51.41 kB / 433.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.3177, allocations: 105.8 kB / 433.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3177, allocations: 25.7 kB / 433.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.3178, allocations: 84.14 kB / 433.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.3178, allocations: 4 kB / 433.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.3179, allocations: 21.7 kB / 434 MB, free: 3.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.318, allocations: 310.8 kB / 434.3 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.318, allocations: 8.25 kB / 434.3 MB, free: 3.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.552e-05/0.3181, allocations: 35.42 kB / 434.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.279e-05/0.3181, allocations: 39.38 kB / 434.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3181, allocations: 4 kB / 434.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001133/0.3182, allocations: 65.45 kB / 434.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3183, allocations: 11.94 kB / 434.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3183, allocations: 4.125 kB / 434.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3183, allocations: 0 / 434.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.3183, allocations: 4 kB / 434.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3184, allocations: 4 kB / 434.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.3184, allocations: 0 / 434.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3184, allocations: 4 kB / 434.4 MB, free: 2.93 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.534e-05/0.3185, allocations: 109.8 kB / 434.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.3186, allocations: 73.72 kB / 434.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.3187, allocations: 7.688 kB / 434.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3187, allocations: 3.984 kB / 434.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3187, allocations: 4 kB / 434.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.3187, allocations: 0 / 434.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.3188, allocations: 120.8 kB / 434.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3188, allocations: 3.984 kB / 434.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.3188, allocations: 4 kB / 434.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3188, allocations: 3.938 kB / 434.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.3188, allocations: 0 / 434.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3188, allocations: 0 / 434.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3188, allocations: 0 / 434.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.319, allocations: 93 kB / 434.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.319, allocations: 4 kB / 434.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.319, allocations: 11.94 kB / 434.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/0.3191, allocations: 11.92 kB / 434.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-06/0.3191, allocations: 0 / 434.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3191, allocations: 0 / 434.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.303e-05/0.3191, allocations: 83.41 kB / 435 MB, free: 2.324 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3191, allocations: 0 / 435 MB, free: 2.324 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.3193, allocations: 8 kB / 435 MB, free: 2.316 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.0005844/0.3199, allocations: 0.6397 MB / 435.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.32, allocations: 32.11 kB / 435.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.32, allocations: 7.938 kB / 435.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.22e-07/0.32, allocations: 0 / 435.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.3203, allocations: 27.92 kB / 435.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.3214, allocations: 1.158 MB / 436.8 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.174e-05/0.3215, allocations: 67.34 kB / 436.9 MB, free: 240 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.947e-05/0.3215, allocations: 3.984 kB / 436.9 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.3216, allocations: 7.438 kB / 436.9 MB, free: 228 kB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3216, allocations: 4.125 kB / 436.9 MB, free: 224 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.3499, allocations: 1.832 MB / 438.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.96, allocations: 6.875 kB / 438.7 MB, free: 14.49 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.48181374464184]