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.001393/0.001392, allocations: 103.3 kB / 17.2 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 205.8 kB / 18.13 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 60.2 kB / 306.4 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1119, allocations: 50.53 MB / 356.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003609/0.1155, allocations: 1.698 MB / 358.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.1168, allocations: 0.5649 MB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.1169, allocations: 7.938 kB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.025e-05/0.117, allocations: 3.938 kB / 359.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.1172, allocations: 7.938 kB / 359.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.1176, allocations: 75.67 kB / 359.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.1178, allocations: 51.86 kB / 359.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1179, allocations: 36.14 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.1181, allocations: 23.92 kB / 359.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.1182, allocations: 35.77 kB / 359.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1182, allocations: 7.938 kB / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.296e-05/0.1182, allocations: 11.94 kB / 359.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.1183, allocations: 15.92 kB / 359.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.1184, allocations: 27.81 kB / 359.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1185, allocations: 83.69 kB / 359.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1185, allocations: 3.938 kB / 359.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1185, allocations: 0 / 359.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.1186, allocations: 4 kB / 359.5 MB, free: 11.73 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.0005587/0.1191, allocations: 395.4 kB / 359.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1192, allocations: 12.03 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.1192, allocations: 38.73 kB / 360 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.1194, allocations: 24.73 kB / 360 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.1196, allocations: 204 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1196, allocations: 4.375 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1197, allocations: 11.94 kB / 360.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.12, allocations: 135.4 kB / 360.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.12, allocations: 0 / 360.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.12, allocations: 4 kB / 360.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.12, allocations: 4 kB / 360.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.1202, allocations: 35.94 kB / 360.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.1207, allocations: 313.5 kB / 360.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.1209, allocations: 162.2 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.826e-05/0.121, allocations: 33.8 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.1211, allocations: 0 / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.1213, allocations: 63.39 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.1213, allocations: 0 / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003408/0.1216, allocations: 117.4 kB / 361.1 MB, free: 9.988 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.1217, allocations: 89.11 kB / 361.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1219, allocations: 149.7 kB / 361.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1219, allocations: 29.7 kB / 361.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.1219, allocations: 92.08 kB / 361.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.122, allocations: 19.8 kB / 361.4 MB, free: 9.578 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.122, allocations: 25.72 kB / 361.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.1221, allocations: 322.8 kB / 361.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.1222, allocations: 27.92 kB / 361.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.1223, allocations: 57.14 kB / 361.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1224, allocations: 81.08 kB / 361.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1225, allocations: 4 kB / 361.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002137/0.1227, allocations: 109.8 kB / 362.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1227, allocations: 8 kB / 362.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1227, allocations: 160 / 362.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1227, allocations: 8 kB / 362.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.1228, allocations: 27.86 kB / 362.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1229, allocations: 11.92 kB / 362.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.768e-05/0.1229, allocations: 4 kB / 362.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1229, allocations: 4 kB / 362.1 MB, free: 8.844 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.0001096/0.1231, allocations: 133.7 kB / 362.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.56e-05/0.1231, allocations: 53.45 kB / 362.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.1232, allocations: 16.3 kB / 362.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1232, allocations: 11.94 kB / 362.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1232, allocations: 0 / 362.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1232, allocations: 0 / 362.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.1236, allocations: 342.9 kB / 362.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1236, allocations: 0 / 362.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.1237, allocations: 19.86 kB / 362.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1237, allocations: 3.984 kB / 362.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1237, allocations: 0 / 362.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1237, allocations: 4 kB / 362.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1237, allocations: 4 kB / 362.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.124, allocations: 204.2 kB / 362.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.124, allocations: 96.94 kB / 363 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.1241, allocations: 4 kB / 363 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.1242, allocations: 0 / 363 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.1242, allocations: 7.984 kB / 363 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1242, allocations: 12 kB / 363 MB, free: 7.836 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.111e-05/0.1243, allocations: 110.6 kB / 363.1 MB, free: 7.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1243, allocations: 0 / 363.1 MB, free: 7.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1246, allocations: 19.91 kB / 363.1 MB, free: 7.711 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.0006007/0.1252, allocations: 0.7639 MB / 363.9 MB, free: 6.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.1254, allocations: 71.97 kB / 364 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1254, allocations: 0 / 364 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.965e-05/0.1254, allocations: 16 kB / 364 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1258, allocations: 32.27 kB / 364 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.1275, allocations: 1.581 MB / 365.6 MB, free: 5.105 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1278, allocations: 0.7043 MB / 366.3 MB, free: 4.375 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.666e-05/0.1278, allocations: 4.438 kB / 366.3 MB, free: 4.367 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.1279, allocations: 27.42 kB / 366.3 MB, free: 4.344 MB / 302.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1279, allocations: 0 / 366.3 MB, free: 4.344 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.1405, allocations: 1.83 MB / 368.2 MB, free: 2.656 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.1408, allocations: 240.7 kB / 368.4 MB, free: 2.391 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/1.997, allocations: 0 / 368.4 MB, free: 2.391 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