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.0008888/0.0008888, allocations: 92.12 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.001056/0.001056, allocations: 204.2 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.232/1.232, allocations: 227.7 MB / 246.8 MB, free: 11.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001999/0.0001999, allocations: 8 kB / 307.8 MB, free: 0.7109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.0917, allocations: 51.51 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001616/0.09336, allocations: 1.168 MB / 360.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002702/0.09366, allocations: 91.75 kB / 360.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/0.09373, allocations: 0 / 360.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.09376, allocations: 0 / 360.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.248e-05/0.09381, allocations: 3.938 kB / 360.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.09405, allocations: 19.98 kB / 360.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.155e-05/0.09414, allocations: 23.92 kB / 360.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.77e-05/0.09424, allocations: 11.94 kB / 360.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.09428, allocations: 7.984 kB / 360.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.09432, allocations: 11.94 kB / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.09434, allocations: 4 kB / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.09436, allocations: 0 / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.09438, allocations: 3.938 kB / 360.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.09443, allocations: 41.62 kB / 360.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.537e-05/0.09451, allocations: 23.89 kB / 360.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.09452, allocations: 0 / 360.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.09453, allocations: 4 kB / 360.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.09454, allocations: 0 / 360.8 MB, free: 11.77 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.0003827/0.09493, allocations: 339.7 kB / 361.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.09497, allocations: 8.031 kB / 361.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.09501, allocations: 42.67 kB / 361.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.09505, allocations: 8.844 kB / 361.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.09521, allocations: 172.4 kB / 361.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.09523, allocations: 384 / 361.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.09525, allocations: 8.375 kB / 361.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.09556, allocations: 107.9 kB / 361.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.09558, allocations: 3.938 kB / 361.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.09559, allocations: 3.984 kB / 361.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.0956, allocations: 0 / 361.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.027e-05/0.09569, allocations: 27.98 kB / 361.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.09583, allocations: 165.5 kB / 361.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.09599, allocations: 58.55 kB / 361.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/0.09606, allocations: 24.88 kB / 361.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.09609, allocations: 4 kB / 361.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.09612, allocations: 38.55 kB / 361.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.09612, allocations: 0 / 361.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002273/0.09636, allocations: 77.55 kB / 361.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.09641, allocations: 59.41 kB / 361.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.42e-05/0.09649, allocations: 109.8 kB / 362 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.09651, allocations: 25.7 kB / 362 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.09655, allocations: 80.14 kB / 362.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.315e-06/0.09657, allocations: 4 kB / 362.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.0966, allocations: 17.66 kB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.0967, allocations: 314.8 kB / 362.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.09672, allocations: 7.984 kB / 362.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.09675, allocations: 27.44 kB / 362.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.066e-05/0.0968, allocations: 31.38 kB / 362.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.0968, allocations: 0 / 362.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.67e-05/0.09688, allocations: 61.62 kB / 362.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.09691, allocations: 11.94 kB / 362.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.09692, allocations: 3.938 kB / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.09694, allocations: 0 / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.812e-05/0.09699, allocations: 8 kB / 362.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.097, allocations: 0 / 362.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.09703, allocations: 7.922 kB / 362.6 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.09704, allocations: 8 kB / 362.6 MB, free: 9.676 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: 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 7.267e-05/0.09711, allocations: 113.8 kB / 362.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.09723, allocations: 65.66 kB / 362.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.09726, allocations: 7.844 kB / 362.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.09727, allocations: 0 / 362.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.09728, allocations: 7.984 kB / 362.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.09729, allocations: 0 / 362.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.069e-05/0.09738, allocations: 153.7 kB / 362.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.09739, allocations: 0 / 362.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.09745, allocations: 8 kB / 362.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.09746, allocations: 7.938 kB / 363 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.09748, allocations: 4.234 kB / 363 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.09748, allocations: 3.938 kB / 363 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.09749, allocations: 4 kB / 363 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.09762, allocations: 89.34 kB / 363.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.09767, allocations: 85.09 kB / 363.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.09769, allocations: 7.938 kB / 363.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.367e-05/0.09772, allocations: 4 kB / 363.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-06/0.09773, allocations: 4 kB / 363.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.09774, allocations: 0 / 363.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.581e-05/0.09778, allocations: 87.2 kB / 363.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09779, allocations: 0 / 363.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001821/0.09797, allocations: 8 kB / 363.2 MB, free: 8.918 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: 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.0003775/0.09836, allocations: 0.6202 MB / 363.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.76e-05/0.09846, allocations: 27.92 kB / 363.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.09847, allocations: 0 / 363.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.09848, allocations: 0 / 363.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.09871, allocations: 37.8 kB / 363.9 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008499/0.09957, allocations: 1.161 MB / 365.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.09979, allocations: 0.6926 MB / 365.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.02e-05/0.09981, allocations: 0 / 365.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.09985, allocations: 7.438 kB / 365.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.09985, allocations: 0 / 365.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01031/0.1102, allocations: 1.03 MB / 366.8 MB, free: 5.352 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.1104, allocations: 228 kB / 367 MB, free: 5.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/1.733, allocations: 3.938 kB / 367 MB, free: 5.086 MB / 302.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.0.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