Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001251/0.001251, allocations: 114 kB / 20.43 MB, free: 1.457 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.00139/0.00139, allocations: 213.3 kB / 23.74 MB, free: 4.672 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.38/1.38, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 59.91 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2535, allocations: 53.41 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002702/0.2562, allocations: 1.456 MB / 432.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001918/0.2564, allocations: 27.91 kB / 432.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.2564, allocations: 0 / 432.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.2565, allocations: 3.938 kB / 432.7 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.2565, allocations: 11.94 kB / 432.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.2567, allocations: 23.95 kB / 432.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.321e-05/0.2568, allocations: 27.92 kB / 432.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.2569, allocations: 15.92 kB / 432.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.816e-05/0.257, allocations: 11.98 kB / 432.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.503e-05/0.257, allocations: 15.92 kB / 432.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.257, allocations: 4 kB / 432.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.257, allocations: 0 / 432.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.257, allocations: 7.938 kB / 432.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.2571, allocations: 11.94 kB / 432.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.387e-05/0.2572, allocations: 32.86 kB / 432.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2572, allocations: 4 kB / 432.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2572, allocations: 0 / 432.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.2572, allocations: 0 / 432.8 MB, free: 5.047 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.0004181/0.2576, allocations: 273.7 kB / 433.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2576, allocations: 12.03 kB / 433.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.2577, allocations: 30.75 kB / 433.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.2577, allocations: 8.891 kB / 433.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.2579, allocations: 122.4 kB / 433.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.2579, allocations: 8.375 kB / 433.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.2579, allocations: 384 / 433.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.2583, allocations: 119.8 kB / 433.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.2583, allocations: 3.938 kB / 433.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2583, allocations: 0 / 433.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2583, allocations: 0 / 433.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.2584, allocations: 23.98 kB / 433.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.2586, allocations: 132.7 kB / 433.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.2587, allocations: 58.48 kB / 433.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.2588, allocations: 24.92 kB / 433.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.2588, allocations: 0 / 433.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.2588, allocations: 30.56 kB / 433.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.2588, allocations: 0 / 433.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002785/0.2591, allocations: 85.55 kB / 433.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.2592, allocations: 63.34 kB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2593, allocations: 109.8 kB / 433.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.2593, allocations: 29.64 kB / 433.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.2593, allocations: 88.14 kB / 434 MB, free: 3.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.2594, allocations: 3.984 kB / 434 MB, free: 3.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.2594, allocations: 17.72 kB / 434 MB, free: 3.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2595, allocations: 310.8 kB / 434.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.2596, allocations: 12 kB / 434.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.2596, allocations: 27.42 kB / 434.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.048e-05/0.2596, allocations: 35.38 kB / 434.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2596, allocations: 4 kB / 434.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.038e-05/0.2597, allocations: 69.52 kB / 434.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.2598, allocations: 14.44 kB / 434.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2598, allocations: 0 / 434.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2598, allocations: 0 / 434.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.2598, allocations: 11.94 kB / 434.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.2599, allocations: 0 / 434.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.2599, allocations: 4 kB / 434.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.2599, allocations: 3.984 kB / 434.5 MB, free: 3.125 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.76e-05/0.26, allocations: 118 kB / 434.6 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.2601, allocations: 69.75 kB / 434.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.2602, allocations: 12.03 kB / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.2602, allocations: 0 / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/0.2602, allocations: 0 / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2602, allocations: 0 / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.2603, allocations: 128.7 kB / 434.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2603, allocations: 3.938 kB / 434.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/0.2603, allocations: 8 kB / 434.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2603, allocations: 11.94 kB / 434.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2603, allocations: 0 / 434.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2604, allocations: 3.984 kB / 434.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2604, allocations: 0 / 434.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.2605, allocations: 85.11 kB / 435 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.102e-05/0.2605, allocations: 7.953 kB / 435 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.2606, allocations: 8.312 kB / 435 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.2606, allocations: 7.984 kB / 435 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-06/0.2606, allocations: 4 kB / 435 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.2606, allocations: 4 kB / 435 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.381e-05/0.2607, allocations: 83.28 kB / 435.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2607, allocations: 0 / 435.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001816/0.2608, allocations: 7.938 kB / 435.1 MB, free: 2.488 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.0006134/0.2615, allocations: 0.6515 MB / 435.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.2616, allocations: 27.92 kB / 435.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2616, allocations: 7.938 kB / 435.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.2616, allocations: 0 / 435.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.2619, allocations: 19.98 kB / 435.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.263, allocations: 1.189 MB / 437 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.2634, allocations: 0.6768 MB / 437.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.272e-05/0.2634, allocations: 4 kB / 437.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.2634, allocations: 11.44 kB / 437.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2634, allocations: 0 / 437.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.2915, allocations: 1.5 MB / 439.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.85, allocations: 7.297 kB / 439.2 MB, free: 14.36 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.171695643803105]