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.001713/0.001713, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002001/0.002001, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 59.91 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2454, allocations: 50.55 MB / 408.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002565/0.248, allocations: 1.432 MB / 410.3 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001779/0.2482, allocations: 31.86 kB / 410.3 MB, free: 4 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.2483, allocations: 0 / 410.3 MB, free: 4 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.522e-05/0.2483, allocations: 8.031 kB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.954e-05/0.2484, allocations: 4 kB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.2486, allocations: 27.91 kB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.952e-05/0.2487, allocations: 23.98 kB / 410.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.2488, allocations: 11.98 kB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.2488, allocations: 11.83 kB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.2489, allocations: 11.92 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.2489, allocations: 4 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.2489, allocations: 0 / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.2489, allocations: 15.92 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.249, allocations: 15.86 kB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.806e-05/0.2491, allocations: 31.91 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2491, allocations: 0 / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2491, allocations: 0 / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.2491, allocations: 0 / 410.4 MB, free: 15.84 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.0004429/0.2495, allocations: 342.4 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2496, allocations: 12.03 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.2496, allocations: 34.75 kB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.2497, allocations: 4.891 kB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.2499, allocations: 184.3 kB / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.2499, allocations: 12.31 kB / 411 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.2499, allocations: 4.375 kB / 411 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.2503, allocations: 115.8 kB / 411.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2503, allocations: 11.88 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.2503, allocations: 0 / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2503, allocations: 4 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.2505, allocations: 27.97 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.2506, allocations: 161.6 kB / 411.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.2508, allocations: 54.55 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.004e-05/0.2509, allocations: 28.92 kB / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.2509, allocations: 0 / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.251, allocations: 34.5 kB / 411.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.251, allocations: 0 / 411.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002875/0.2513, allocations: 85.59 kB / 411.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.2513, allocations: 55.41 kB / 411.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.2514, allocations: 105.8 kB / 411.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.2514, allocations: 25.7 kB / 411.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.2515, allocations: 84.14 kB / 411.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.2515, allocations: 4 kB / 411.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.2515, allocations: 17.7 kB / 411.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2517, allocations: 318.8 kB / 412.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.2517, allocations: 4 kB / 412.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-05/0.2517, allocations: 35.36 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.157e-05/0.2518, allocations: 35.38 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2518, allocations: 8 kB / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.011e-05/0.2519, allocations: 61.58 kB / 412.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2519, allocations: 11.94 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2519, allocations: 0 / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.252, allocations: 0 / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.003e-05/0.252, allocations: 8 kB / 412.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.252, allocations: 0 / 412.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.343e-05/0.2521, allocations: 7.938 kB / 412.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.2521, allocations: 4.125 kB / 412.3 MB, free: 13.71 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.208e-05/0.2522, allocations: 117.8 kB / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.2523, allocations: 69.75 kB / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.2524, allocations: 11.89 kB / 412.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2524, allocations: 4.031 kB / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2524, allocations: 0 / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2524, allocations: 0 / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.2525, allocations: 153.7 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.2525, allocations: 0 / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.2526, allocations: 19.92 kB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.2526, allocations: 7.938 kB / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2526, allocations: 384 / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2526, allocations: 0 / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.2526, allocations: 7.984 kB / 412.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.2528, allocations: 93.03 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.2529, allocations: 81.06 kB / 412.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.2529, allocations: 7.938 kB / 412.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.253, allocations: 8 kB / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-06/0.253, allocations: 0 / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.253, allocations: 7.984 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.379e-05/0.253, allocations: 79.28 kB / 413 MB, free: 12.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.253, allocations: 0 / 413 MB, free: 12.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001913/0.2532, allocations: 8 kB / 413 MB, free: 12.93 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.0005781/0.2538, allocations: 0.6475 MB / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.254, allocations: 27.98 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.254, allocations: 0 / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.254, allocations: 3.938 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.2542, allocations: 28.02 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2553, allocations: 1.174 MB / 414.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.2557, allocations: 0.6807 MB / 415.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.208e-05/0.2557, allocations: 3.984 kB / 415.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.2557, allocations: 15.44 kB / 415.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2558, allocations: 0 / 415.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.2777, allocations: 1.371 MB / 416.9 MB, free: 8.965 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.255, allocations: 10.48 kB / 416.9 MB, free: 8.957 MB / 334.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.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) Reference file matches