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.001337/0.001337, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001495/0.001495, allocations: 187.1 kB / 23.72 MB, free: 4.684 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.368/1.368, allocations: 225.6 MB / 252.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 47.92 kB / 370.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2632, allocations: 52.18 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002816/0.266, allocations: 1.459 MB / 424.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001878/0.2662, allocations: 27.86 kB / 424.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.2662, allocations: 0 / 424.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.2662, allocations: 7.938 kB / 424.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.83e-05/0.2663, allocations: 7.922 kB / 424.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.2665, allocations: 19.98 kB / 424.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.478e-05/0.2666, allocations: 23.92 kB / 424.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.2667, allocations: 15.97 kB / 424.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.2667, allocations: 7.938 kB / 424.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.2668, allocations: 15.92 kB / 424.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.2668, allocations: 8 kB / 424.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.2668, allocations: 4 kB / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.2668, allocations: 4 kB / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.2669, allocations: 15.88 kB / 424.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.945e-05/0.267, allocations: 35.25 kB / 424.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.267, allocations: 0 / 424.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.267, allocations: 4 kB / 424.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.267, allocations: 0 / 424.3 MB, free: 12.97 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.0004234/0.2674, allocations: 267.3 kB / 424.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2674, allocations: 8.031 kB / 424.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.2675, allocations: 38.75 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.2675, allocations: 4.938 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.2677, allocations: 122.4 kB / 424.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.2677, allocations: 8.312 kB / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.2678, allocations: 384 / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.2681, allocations: 119.8 kB / 424.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2681, allocations: 7.938 kB / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2681, allocations: 0 / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2681, allocations: 3.938 kB / 424.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.2683, allocations: 27.97 kB / 424.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.2684, allocations: 132.7 kB / 425 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.2686, allocations: 58.48 kB / 425 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.651e-05/0.2686, allocations: 24.92 kB / 425.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2687, allocations: 4 kB / 425.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.2687, allocations: 34.56 kB / 425.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2687, allocations: 0 / 425.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002883/0.269, allocations: 85.55 kB / 425.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.269, allocations: 55.41 kB / 425.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.578e-05/0.2691, allocations: 109.8 kB / 425.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2692, allocations: 29.7 kB / 425.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.2692, allocations: 84.12 kB / 425.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.2692, allocations: 11.98 kB / 425.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.2692, allocations: 13.72 kB / 425.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2694, allocations: 314.8 kB / 425.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.2694, allocations: 4 kB / 425.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/0.2694, allocations: 35.42 kB / 425.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.038e-05/0.2695, allocations: 35.38 kB / 425.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2695, allocations: 4 kB / 425.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.827e-05/0.2696, allocations: 61.58 kB / 425.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2696, allocations: 11.94 kB / 425.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2696, allocations: 0 / 425.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2696, allocations: 128 / 425.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.2697, allocations: 12 kB / 426 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2697, allocations: 3.938 kB / 426 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.2697, allocations: 4 kB / 426 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-06/0.2697, allocations: 0 / 426 MB, free: 11.04 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.075e-05/0.2698, allocations: 117.8 kB / 426.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.27, allocations: 65.61 kB / 426.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.27, allocations: 11.94 kB / 426.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.27, allocations: 0 / 426.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.27, allocations: 4 kB / 426.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.27, allocations: 0 / 426.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.2701, allocations: 128.7 kB / 426.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2701, allocations: 4 kB / 426.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.2702, allocations: 11.94 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2702, allocations: 3.938 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.2702, allocations: 0 / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2702, allocations: 0 / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2702, allocations: 8.297 kB / 426.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.2704, allocations: 93.3 kB / 426.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.2704, allocations: 4 kB / 426.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.2704, allocations: 7.938 kB / 426.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.536e-05/0.2704, allocations: 12.03 kB / 426.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-06/0.2704, allocations: 3.984 kB / 426.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.2704, allocations: 0 / 426.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.071e-05/0.2705, allocations: 79.28 kB / 426.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2705, allocations: 0 / 426.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000186/0.2707, allocations: 8 kB / 426.5 MB, free: 10.41 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.0005553/0.2712, allocations: 0.6514 MB / 427.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.2714, allocations: 31.92 kB / 427.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2714, allocations: 0 / 427.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.2714, allocations: 0 / 427.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.2716, allocations: 36.31 kB / 427.2 MB, free: 9.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2727, allocations: 1.177 MB / 428.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.273, allocations: 0.6844 MB / 429.1 MB, free: 7.672 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.913e-05/0.273, allocations: 7.938 kB / 429.1 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.2731, allocations: 15.44 kB / 429.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2731, allocations: 0 / 429.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.2999, allocations: 1.48 MB / 430.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.91, allocations: 10.28 kB / 430.6 MB, free: 6.297 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] Reference file matches [Calling sys.exit(0), Time elapsed: 13.228031520964578]