Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007675/0.0007675, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008352/0.0008352, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.7 MB / 246.8 MB, free: 9.695 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002143/0.0002146, allocations: 8 kB / 307.8 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08754/0.08777, allocations: 51.51 MB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002114/0.08993, allocations: 1.363 MB / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.09101, allocations: 0.5494 MB / 361.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.09115, allocations: 11.94 kB / 361.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.09121, allocations: 3.938 kB / 361.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.09137, allocations: 7.922 kB / 361.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.09172, allocations: 63.88 kB / 361.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.09183, allocations: 59.78 kB / 361.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.09196, allocations: 24.19 kB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.0921, allocations: 31.91 kB / 361.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.823e-05/0.09218, allocations: 31.73 kB / 361.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.0922, allocations: 4 kB / 361.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.26e-05/0.09225, allocations: 8 kB / 361.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.0923, allocations: 11.92 kB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.09237, allocations: 57.45 kB / 361.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.09251, allocations: 87.61 kB / 361.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.09252, allocations: 0 / 361.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09253, allocations: 0 / 361.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.09254, allocations: 0 / 361.7 MB, free: 10.65 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004825/0.09303, allocations: 383.5 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.09307, allocations: 8.031 kB / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/0.09313, allocations: 38.75 kB / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.09327, allocations: 24.73 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.09348, allocations: 200.2 kB / 362.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.0935, allocations: 8.312 kB / 362.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.09352, allocations: 11.94 kB / 362.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.09383, allocations: 141 kB / 362.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.09385, allocations: 0 / 362.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.09387, allocations: 7.984 kB / 362.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.09388, allocations: 0 / 362.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.094, allocations: 35.98 kB / 362.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.09445, allocations: 309.5 kB / 362.8 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.09469, allocations: 158.3 kB / 363 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.488e-05/0.09478, allocations: 41.73 kB / 363 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.09481, allocations: 0 / 363 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.09497, allocations: 75.3 kB / 363.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.09498, allocations: 0 / 363.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002968/0.09528, allocations: 125.7 kB / 363.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.09536, allocations: 81.11 kB / 363.3 MB, free: 8.797 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.09548, allocations: 149.7 kB / 363.4 MB, free: 8.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.09551, allocations: 33.64 kB / 363.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.09558, allocations: 96.12 kB / 363.6 MB, free: 8.504 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.09561, allocations: 15.81 kB / 363.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.09564, allocations: 17.72 kB / 363.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.09576, allocations: 318.8 kB / 363.9 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.745e-05/0.09583, allocations: 23.98 kB / 363.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.848e-05/0.09593, allocations: 65.08 kB / 364 MB, free: 8.039 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.09608, allocations: 93.06 kB / 364.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.09609, allocations: 0 / 364.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002119/0.09631, allocations: 117.5 kB / 364.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.09633, allocations: 4 kB / 364.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.09634, allocations: 4 kB / 364.2 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.09636, allocations: 4.25 kB / 364.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.3e-05/0.09645, allocations: 28.02 kB / 364.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.09646, allocations: 7.984 kB / 364.2 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.09652, allocations: 8 kB / 364.2 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.09654, allocations: 4 kB / 364.2 MB, free: 7.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler.y,$PRE.triggeredSampler.y,clockToTrigger.y3,$PRE.clockToTrigger.y3,triggeredSampler.trigger,$whenCondition1,$CLKPRE.clockToTrigger.y2,clockToTrigger.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 0.0001148/0.09666, allocations: 133.7 kB / 364.4 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.09672, allocations: 53.53 kB / 364.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.09677, allocations: 16.31 kB / 364.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.09678, allocations: 7.938 kB / 364.5 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.09679, allocations: 0 / 364.5 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.09679, allocations: 4 kB / 364.5 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.09713, allocations: 346.5 kB / 364.8 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.09715, allocations: 0 / 364.8 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.09721, allocations: 19.86 kB / 364.8 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.09722, allocations: 0 / 364.8 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.09723, allocations: 4 kB / 364.8 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.09724, allocations: 4 kB / 364.8 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.09724, allocations: 0 / 364.8 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.09746, allocations: 208.2 kB / 365 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.09754, allocations: 100.9 kB / 365.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.09758, allocations: 0 / 365.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.09767, allocations: 11.98 kB / 365.1 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.0977, allocations: 4 kB / 365.1 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.09772, allocations: 4 kB / 365.1 MB, free: 6.738 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.673e-05/0.0978, allocations: 114.1 kB / 365.3 MB, free: 6.629 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.0978, allocations: 0 / 365.3 MB, free: 6.629 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.09804, allocations: 16 kB / 365.3 MB, free: 6.613 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (clockToTrigger.y2,triggeredSampler.trigger,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005813/0.09862, allocations: 0.7719 MB / 366 MB, free: 5.812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.09881, allocations: 75.78 kB / 366.1 MB, free: 5.738 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.09882, allocations: 4.375 kB / 366.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.793e-05/0.09889, allocations: 19.98 kB / 366.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.09922, allocations: 28.2 kB / 366.2 MB, free: 5.688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.1007, allocations: 1.593 MB / 367.8 MB, free: 3.973 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.101, allocations: 0.7043 MB / 368.5 MB, free: 3.242 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.068e-05/0.1011, allocations: 16.42 kB / 368.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.1011, allocations: 27.44 kB / 368.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1012, allocations: 0 / 368.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.1122, allocations: 1.768 MB / 370.3 MB, free: 1.609 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.1124, allocations: 245.9 kB / 370.5 MB, free: 1.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/1.894, allocations: 0 / 370.5 MB, free: 1.34 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches