Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001716, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001801/0.001801, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.6/1.6, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3885, allocations: 50.55 MB / 409.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002883/0.3914, allocations: 1.471 MB / 410.7 MB, free: 148 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003239/0.3917, allocations: 95.73 kB / 410.8 MB, free: 52 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.3918, allocations: 0 / 410.8 MB, free: 52 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.3919, allocations: 7.938 kB / 410.8 MB, free: 44 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.98e-05/0.3919, allocations: 3.938 kB / 410.8 MB, free: 40 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.3922, allocations: 23.91 kB / 410.9 MB, free: 16 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.3923, allocations: 23.97 kB / 410.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3925, allocations: 15.94 kB / 410.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.613e-05/0.3925, allocations: 11.94 kB / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.3926, allocations: 3.938 kB / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.3926, allocations: 4 kB / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.3926, allocations: 0 / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.3926, allocations: 11.94 kB / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.518e-05/0.3927, allocations: 19.92 kB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.3928, allocations: 27.89 kB / 411 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3928, allocations: 0 / 411 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3928, allocations: 0 / 411 MB, free: 15.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3928, allocations: 0 / 411 MB, free: 15.9 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.0004528/0.3933, allocations: 343.3 kB / 411.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3933, allocations: 8.031 kB / 411.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.3934, allocations: 8.875 kB / 411.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.3936, allocations: 180.3 kB / 411.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3937, allocations: 4.375 kB / 411.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.3937, allocations: 8.312 kB / 411.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.394, allocations: 99.88 kB / 411.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.394, allocations: 4.125 kB / 411.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.394, allocations: 3.938 kB / 411.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.394, allocations: 4 kB / 411.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.3941, allocations: 23.98 kB / 411.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.3943, allocations: 157.7 kB / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.3944, allocations: 46.56 kB / 411.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.3945, allocations: 24.92 kB / 411.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3945, allocations: 7.938 kB / 411.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.3946, allocations: 34.56 kB / 411.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3946, allocations: 0 / 411.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002618/0.3948, allocations: 81.48 kB / 412 MB, free: 14.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.3949, allocations: 55.41 kB / 412 MB, free: 14.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.403e-05/0.395, allocations: 105.8 kB / 412.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.395, allocations: 25.7 kB / 412.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.3951, allocations: 88.12 kB / 412.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.3951, allocations: 8 kB / 412.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.3951, allocations: 9.719 kB / 412.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3952, allocations: 318.8 kB / 412.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.3953, allocations: 3.938 kB / 412.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.3953, allocations: 27.42 kB / 412.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.823e-05/0.3953, allocations: 39.38 kB / 412.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3954, allocations: 0 / 412.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.455e-05/0.3954, allocations: 53.62 kB / 412.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3955, allocations: 4 kB / 412.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3955, allocations: 12.06 kB / 412.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3955, allocations: 0 / 412.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.3956, allocations: 8 kB / 412.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3956, allocations: 0 / 412.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.3956, allocations: 5.266 kB / 412.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.3956, allocations: 4 kB / 412.7 MB, free: 13.88 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: 0 () * 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.622e-05/0.3957, allocations: 117.7 kB / 412.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.3958, allocations: 61.59 kB / 412.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.3959, allocations: 7.844 kB / 412.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3959, allocations: 4 kB / 412.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3959, allocations: 0 / 412.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.3959, allocations: 0 / 412.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.396, allocations: 161.6 kB / 413.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.396, allocations: 7.938 kB / 413.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.3961, allocations: 4 kB / 413.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3961, allocations: 0 / 413.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3961, allocations: 7.938 kB / 413.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3961, allocations: 0 / 413.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3961, allocations: 4.234 kB / 413.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.3963, allocations: 85.06 kB / 413.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.3963, allocations: 84.95 kB / 413.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.3964, allocations: 15.92 kB / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.3964, allocations: 4 kB / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-06/0.3964, allocations: 0 / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.3964, allocations: 0 / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.46e-05/0.3965, allocations: 79.28 kB / 413.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3965, allocations: 4 kB / 413.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001925/0.3967, allocations: 8 kB / 413.4 MB, free: 13.12 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: 0 () * 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.0001308/0.3968, allocations: 99.23 kB / 413.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.397, allocations: 27.92 kB / 413.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.397, allocations: 0 / 413.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.397, allocations: 0 / 413.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.3972, allocations: 19.06 kB / 413.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.3976, allocations: 125.6 kB / 413.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.3979, allocations: 0.6807 MB / 414.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.429e-05/0.3979, allocations: 256 / 414.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.3979, allocations: 7.438 kB / 414.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3979, allocations: 0 / 414.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Templates: time 0.002428/0.4004, allocations: 325.2 kB / 414.7 MB, free: 11.79 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches