Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001576/0.001576, 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.001881/0.001881, allocations: 201.2 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.522/1.522, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 63.89 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2398, allocations: 50.55 MB / 408.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002549/0.2424, allocations: 1.445 MB / 410.3 MB, free: 124 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002544/0.2427, allocations: 95.72 kB / 410.4 MB, free: 28 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.2428, allocations: 0 / 410.4 MB, free: 28 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.2428, allocations: 3.938 kB / 410.4 MB, free: 24 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.173e-05/0.2428, allocations: 3.938 kB / 410.4 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.2431, allocations: 23.48 kB / 410.4 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.864e-05/0.2432, allocations: 35.95 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.173e-05/0.2433, allocations: 4 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.2433, allocations: 11.94 kB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.099e-05/0.2434, allocations: 15.92 kB / 410.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.2434, allocations: 0 / 410.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.2434, allocations: 4 kB / 410.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.2434, allocations: 3.938 kB / 410.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.2435, allocations: 11.94 kB / 410.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.434e-05/0.2436, allocations: 39.77 kB / 410.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2436, allocations: 0 / 410.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2436, allocations: 4 kB / 410.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.2436, allocations: 3.984 kB / 410.5 MB, free: 15.86 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.0004078/0.244, allocations: 334.4 kB / 410.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.244, allocations: 8.031 kB / 410.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.2441, allocations: 42.75 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.124e-05/0.2441, allocations: 4.891 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.2443, allocations: 180.3 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.2444, allocations: 4.312 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.2444, allocations: 12.38 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.2447, allocations: 95.88 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2447, allocations: 7.938 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.2447, allocations: 0 / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2447, allocations: 0 / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.417e-05/0.2448, allocations: 27.86 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.245, allocations: 161.6 kB / 411.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.2451, allocations: 50.56 kB / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/0.2452, allocations: 24.92 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.2452, allocations: 0 / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.469e-05/0.2453, allocations: 34.56 kB / 411.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.2453, allocations: 0 / 411.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002181/0.2455, allocations: 73.55 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.2456, allocations: 63.39 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.2457, allocations: 105.9 kB / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.2457, allocations: 25.7 kB / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.2458, allocations: 84.12 kB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.977e-06/0.2458, allocations: 8 kB / 411.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.2458, allocations: 13.72 kB / 411.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.246, allocations: 318.8 kB / 412.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.246, allocations: 3.984 kB / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.964e-05/0.246, allocations: 23.44 kB / 412.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.707e-05/0.2461, allocations: 39.38 kB / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2461, allocations: 0 / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.267e-05/0.2462, allocations: 61.52 kB / 412.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2462, allocations: 7.938 kB / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2462, allocations: 4 kB / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2462, allocations: 0 / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.048e-05/0.2463, allocations: 12.12 kB / 412.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2463, allocations: 4 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/0.2463, allocations: 0 / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.2463, allocations: 7.938 kB / 412.3 MB, free: 13.8 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.745e-05/0.2464, allocations: 109.8 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.2465, allocations: 65.56 kB / 412.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.2466, allocations: 4.234 kB / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2466, allocations: 0 / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2466, allocations: 4.25 kB / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2466, allocations: 7.969 kB / 412.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.2467, allocations: 157.7 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2467, allocations: 0 / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.2468, allocations: 8 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2468, allocations: 7.875 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.2468, allocations: 4 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.2468, allocations: 7.984 kB / 412.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2468, allocations: 0 / 412.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.247, allocations: 89.02 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.247, allocations: 85.03 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.2471, allocations: 3.938 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.547e-05/0.2471, allocations: 4 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-06/0.2471, allocations: 0 / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2471, allocations: 0 / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.772e-05/0.2472, allocations: 83.28 kB / 413 MB, free: 13.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2472, allocations: 0 / 413 MB, free: 13.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000183/0.2474, allocations: 4 kB / 413 MB, free: 13.05 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0004579/0.2478, allocations: 0.6241 MB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.248, allocations: 27.92 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.248, allocations: 256 / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.248, allocations: 4 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.2482, allocations: 16 kB / 413.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.2493, allocations: 1.158 MB / 414.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.2496, allocations: 0.6846 MB / 415.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.251e-05/0.2496, allocations: 0 / 415.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.2497, allocations: 15.42 kB / 415.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2497, allocations: 0 / 415.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.272, allocations: 1.245 MB / 416.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/8.219, allocations: 3.859 kB / 416.7 MB, free: 9.254 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches