Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.001295/0.001295, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001402/0.001402, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.358/1.358, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 43.94 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2378, allocations: 53.36 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00257/0.2403, allocations: 1.458 MB / 433.4 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001722/0.2405, allocations: 35.84 kB / 433.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.2406, allocations: 0 / 433.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.2406, allocations: 3.938 kB / 433.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.474e-05/0.2406, allocations: 0 / 433.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.2409, allocations: 23.92 kB / 433.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.2409, allocations: 23.98 kB / 433.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.241, allocations: 15.97 kB / 433.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.2411, allocations: 15.88 kB / 433.5 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.2411, allocations: 15.92 kB / 433.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.2411, allocations: 0 / 433.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.2411, allocations: 4 kB / 433.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.2411, allocations: 4 kB / 433.5 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.2412, allocations: 15.88 kB / 433.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.831e-05/0.2413, allocations: 39.25 kB / 433.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2413, allocations: 0 / 433.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2413, allocations: 0 / 433.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2413, allocations: 0 / 433.6 MB, free: 5.227 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.0003864/0.2417, allocations: 267.3 kB / 433.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2417, allocations: 8.031 kB / 433.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.774e-05/0.2417, allocations: 4.188 kB / 433.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.899e-05/0.2417, allocations: 34.75 kB / 433.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.389e-05/0.2418, allocations: 4.891 kB / 433.9 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.242, allocations: 126.4 kB / 434 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.242, allocations: 384 / 434 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.242, allocations: 4.375 kB / 434 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.2423, allocations: 135.5 kB / 434.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2423, allocations: 0 / 434.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.2423, allocations: 3.984 kB / 434.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2423, allocations: 0 / 434.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.2425, allocations: 23.98 kB / 434.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.2426, allocations: 132.7 kB / 434.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.2428, allocations: 58.48 kB / 434.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.2428, allocations: 24.92 kB / 434.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.2428, allocations: 4 kB / 434.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.2429, allocations: 34.5 kB / 434.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.2429, allocations: 0 / 434.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002645/0.2431, allocations: 85.55 kB / 434.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.2432, allocations: 55.41 kB / 434.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.2433, allocations: 109.8 kB / 434.7 MB, free: 3.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.2433, allocations: 25.7 kB / 434.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.2433, allocations: 80.14 kB / 434.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.2433, allocations: 11.94 kB / 434.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.2434, allocations: 21.7 kB / 434.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.2435, allocations: 310.8 kB / 435.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.2435, allocations: 4 kB / 435.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.552e-05/0.2436, allocations: 35.42 kB / 435.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.035e-05/0.2436, allocations: 35.38 kB / 435.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2436, allocations: 0 / 435.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.693e-05/0.2437, allocations: 69.64 kB / 435.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2437, allocations: 7.938 kB / 435.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2437, allocations: 4 kB / 435.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2437, allocations: 0 / 435.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.659e-05/0.2438, allocations: 8 kB / 435.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2438, allocations: 3.938 kB / 435.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.2438, allocations: 3.938 kB / 435.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.2438, allocations: 4 kB / 435.3 MB, free: 3.297 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 7.71e-05/0.2439, allocations: 113.8 kB / 435.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.244, allocations: 73.61 kB / 435.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.2441, allocations: 12 kB / 435.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2441, allocations: 0 / 435.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2441, allocations: 0 / 435.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2441, allocations: 0 / 435.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.492e-05/0.2442, allocations: 128.7 kB / 435.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2442, allocations: 0 / 435.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.2442, allocations: 8 kB / 435.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.2442, allocations: 4.172 kB / 435.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.2442, allocations: 0 / 435.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2442, allocations: 8.312 kB / 435.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2442, allocations: 4 kB / 435.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.2444, allocations: 93.08 kB / 435.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.2444, allocations: 11.89 kB / 435.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.2444, allocations: 8 kB / 435.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.839e-05/0.2445, allocations: 0 / 435.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-06/0.2445, allocations: 3.984 kB / 435.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.2445, allocations: 7.938 kB / 435.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.523e-05/0.2445, allocations: 83.28 kB / 435.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2445, allocations: 0 / 435.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001816/0.2447, allocations: 8 kB / 435.8 MB, free: 2.656 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.0005488/0.2453, allocations: 0.6436 MB / 436.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.2454, allocations: 36.11 kB / 436.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2454, allocations: 0 / 436.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2454, allocations: 4 kB / 436.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.2457, allocations: 19.98 kB / 436.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.2467, allocations: 1.182 MB / 437.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.247, allocations: 0.6846 MB / 438.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.223e-05/0.2471, allocations: 0 / 438.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.2471, allocations: 15.44 kB / 438.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2471, allocations: 0 / 438.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.2675, allocations: 1.533 MB / 439.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.7, allocations: 6.156 kB / 440 MB, free: 14.54 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:assignClock1.u,assignClock1.y,periodicClock1.period,periodicClock1.useSolver,previous(step.counter),step.counter,step.height,step.offset,step.startTick,step.y,time [Calling sys.exit(0), Time elapsed: 13.070615936012473]