Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 108.6 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 191.7 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.7 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 51.91 kB / 371.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2562, allocations: 52.19 MB / 423.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002698/0.2589, allocations: 1.435 MB / 424.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001952/0.2591, allocations: 31.91 kB / 424.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.2591, allocations: 3.938 kB / 424.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.2592, allocations: 0 / 424.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.157e-05/0.2592, allocations: 11.92 kB / 424.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.2595, allocations: 15.92 kB / 424.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.336e-05/0.2596, allocations: 31.92 kB / 424.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2597, allocations: 7.984 kB / 425 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.529e-05/0.2597, allocations: 15.92 kB / 425 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.74e-05/0.2598, allocations: 15.92 kB / 425 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.2598, allocations: 4 kB / 425 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.2598, allocations: 4 kB / 425 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.2598, allocations: 8 kB / 425 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.2598, allocations: 15.88 kB / 425 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.86e-05/0.2599, allocations: 33 kB / 425 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2599, allocations: 3.938 kB / 425 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2599, allocations: 0 / 425 MB, free: 12.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2599, allocations: 4 kB / 425.1 MB, free: 12.98 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.0004282/0.2604, allocations: 270 kB / 425.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2604, allocations: 8.031 kB / 425.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.242e-05/0.2604, allocations: 192 / 425.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.2605, allocations: 42.69 kB / 425.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.2605, allocations: 4.938 kB / 425.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.2607, allocations: 122.4 kB / 425.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2607, allocations: 4.375 kB / 425.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.2607, allocations: 4.375 kB / 425.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.2611, allocations: 127.5 kB / 425.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2611, allocations: 7.938 kB / 425.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.2611, allocations: 0 / 425.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2611, allocations: 4 kB / 425.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.2612, allocations: 23.97 kB / 425.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.2614, allocations: 124.8 kB / 425.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.2615, allocations: 54.55 kB / 425.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.956e-05/0.2616, allocations: 28.91 kB / 425.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.2616, allocations: 4 kB / 425.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.2617, allocations: 38.5 kB / 425.9 MB, free: 12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2617, allocations: 3.938 kB / 425.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002787/0.2619, allocations: 81.61 kB / 426 MB, free: 11.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.262, allocations: 55.41 kB / 426 MB, free: 11.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.2621, allocations: 109.8 kB / 426.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.2621, allocations: 25.7 kB / 426.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.2621, allocations: 80.14 kB / 426.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.2622, allocations: 11.98 kB / 426.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.2622, allocations: 13.72 kB / 426.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2623, allocations: 318.8 kB / 426.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.2623, allocations: 0 / 426.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.2624, allocations: 39.36 kB / 426.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.725e-05/0.2624, allocations: 35.44 kB / 426.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2624, allocations: 0 / 426.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.067e-05/0.2625, allocations: 69.52 kB / 426.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2625, allocations: 7.938 kB / 426.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2625, allocations: 0 / 426.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2625, allocations: 8.125 kB / 426.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.489e-05/0.2626, allocations: 4 kB / 426.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2626, allocations: 7.984 kB / 426.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.2626, allocations: 0 / 426.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.2626, allocations: 7.938 kB / 426.8 MB, free: 11.05 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 8.282e-05/0.2627, allocations: 113.8 kB / 426.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.2629, allocations: 65.61 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.2629, allocations: 11.94 kB / 427 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2629, allocations: 0 / 427 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2629, allocations: 8 kB / 427 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2629, allocations: 0 / 427 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.705e-05/0.263, allocations: 128.7 kB / 427.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.263, allocations: 0 / 427.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/0.2631, allocations: 8 kB / 427.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2631, allocations: 3.938 kB / 427.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.2631, allocations: 3.984 kB / 427.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2631, allocations: 0 / 427.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2631, allocations: 0 / 427.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.2633, allocations: 97.38 kB / 427.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.2633, allocations: 7.938 kB / 427.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2633, allocations: 0 / 427.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.2633, allocations: 15.98 kB / 427.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-06/0.2633, allocations: 0 / 427.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.2633, allocations: 0 / 427.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.425e-05/0.2634, allocations: 79.28 kB / 427.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2634, allocations: 4 kB / 427.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001809/0.2635, allocations: 8 kB / 427.3 MB, free: 10.42 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.0005968/0.2641, allocations: 0.6517 MB / 428 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.2643, allocations: 27.97 kB / 428 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2643, allocations: 0 / 428 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.7e-07/0.2643, allocations: 0 / 428 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.2646, allocations: 44.23 kB / 428 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.2656, allocations: 1.177 MB / 429.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.2659, allocations: 0.6805 MB / 429.9 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.286e-05/0.266, allocations: 8 kB / 429.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.266, allocations: 11.44 kB / 429.9 MB, free: 7.668 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.266, allocations: 0 / 429.9 MB, free: 7.668 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.2866, allocations: 1.516 MB / 431.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.65, allocations: 13.56 kB / 431.4 MB, free: 6.293 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.077202451997437]