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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008575/0.0008575, allocations: 93.62 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001001, allocations: 202.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 227.7 MB / 246.8 MB, free: 9.703 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002403/0.0002402, allocations: 8 kB / 307.8 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.08872, allocations: 51.52 MB / 359.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001576/0.09033, allocations: 1.161 MB / 360.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001761/0.09053, allocations: 27.91 kB / 360.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.0906, allocations: 4 kB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.09063, allocations: 3.938 kB / 360.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.425e-05/0.09067, allocations: 0 / 360.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.09091, allocations: 23.97 kB / 360.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.66e-05/0.09099, allocations: 23.92 kB / 360.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.119e-05/0.09107, allocations: 8 kB / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.09112, allocations: 11.94 kB / 360.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.09117, allocations: 11.92 kB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.09119, allocations: 7.984 kB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-06/0.09121, allocations: 0 / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.09123, allocations: 0 / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.09128, allocations: 41.58 kB / 360.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.346e-05/0.09137, allocations: 23.89 kB / 360.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.09138, allocations: 4 kB / 360.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.09139, allocations: 4 kB / 360.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.09139, allocations: 0 / 360.7 MB, free: 11.62 MB / 302.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.0003736/0.09177, allocations: 343.7 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.09182, allocations: 8.031 kB / 361.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.09186, allocations: 34.75 kB / 361.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.0919, allocations: 4.844 kB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.09207, allocations: 180.3 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.0921, allocations: 8.375 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-06/0.09212, allocations: 384 / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.09251, allocations: 127.8 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.036e-06/0.09252, allocations: 3.938 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.09254, allocations: 0 / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.09255, allocations: 3.938 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.09266, allocations: 27.97 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.09281, allocations: 153.7 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.09297, allocations: 62.48 kB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.09306, allocations: 32.91 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.09308, allocations: 3.938 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.09312, allocations: 38.55 kB / 361.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.09312, allocations: 0 / 361.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002645/0.09339, allocations: 89.44 kB / 361.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.09345, allocations: 55.41 kB / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.09353, allocations: 105.9 kB / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.09355, allocations: 29.69 kB / 362 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.0936, allocations: 84.14 kB / 362.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.09362, allocations: 4 kB / 362.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.09364, allocations: 13.72 kB / 362.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.09376, allocations: 310.8 kB / 362.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.09378, allocations: 7.984 kB / 362.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.09381, allocations: 31.44 kB / 362.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.202e-05/0.09386, allocations: 35.38 kB / 362.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.09387, allocations: 4 kB / 362.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.549e-05/0.09396, allocations: 65.62 kB / 362.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.09399, allocations: 11.94 kB / 362.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.094, allocations: 0 / 362.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.09402, allocations: 0 / 362.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/0.09408, allocations: 15.92 kB / 362.6 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.09409, allocations: 0 / 362.6 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.09412, allocations: 4 kB / 362.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-06/0.09412, allocations: 0 / 362.6 MB, free: 9.5 MB / 302.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.233e-05/0.0942, allocations: 117.8 kB / 362.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.09435, allocations: 69.64 kB / 362.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.09439, allocations: 15.78 kB / 362.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.0944, allocations: 0 / 362.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.09441, allocations: 4 kB / 362.8 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.09442, allocations: 0 / 362.8 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.768e-05/0.09451, allocations: 161.6 kB / 362.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.09452, allocations: 0 / 362.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/0.09458, allocations: 11.98 kB / 362.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.027e-05/0.09461, allocations: 3.938 kB / 362.9 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.09462, allocations: 0 / 362.9 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.09462, allocations: 4.359 kB / 363 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.09463, allocations: 4 kB / 363 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.0948, allocations: 89.11 kB / 363 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.09485, allocations: 85.05 kB / 363.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.09487, allocations: 15.86 kB / 363.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.09492, allocations: 4 kB / 363.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-06/0.09493, allocations: 0 / 363.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.09494, allocations: 4 kB / 363.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.397e-05/0.09499, allocations: 91.2 kB / 363.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.09499, allocations: 0 / 363.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001831/0.09518, allocations: 8 kB / 363.2 MB, free: 8.715 MB / 302.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.0005301/0.09571, allocations: 0.6439 MB / 363.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.09585, allocations: 36.16 kB / 363.9 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.09586, allocations: 0 / 363.9 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-07/0.09587, allocations: 0 / 363.9 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.09615, allocations: 38.69 kB / 364 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.09716, allocations: 1.177 MB / 365.1 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.09743, allocations: 0.6848 MB / 365.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.068e-05/0.09745, allocations: 3.984 kB / 365.8 MB, free: 5.977 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.0975, allocations: 11.44 kB / 365.8 MB, free: 5.965 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.0975, allocations: 0 / 365.8 MB, free: 5.965 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.1081, allocations: 1.139 MB / 367 MB, free: 4.992 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003209/0.1085, allocations: 228.4 kB / 367.2 MB, free: 4.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/1.68, allocations: 0 / 367.2 MB, free: 4.73 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches