Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|clockToTrigger.y|sample.y|triggeredSampler.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|clockToTrigger.y|sample.y|triggeredSampler.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009162/0.0009161, allocations: 182.5 kB / 16.45 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.4 MB / 222.6 MB, free: 9.102 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008435/0.0008435, allocations: 88.98 kB / 270.9 MB, free: 8.34 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06586/0.06586, allocations: 12.59 MB / 331.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 12 kB / 392.7 MB, free: 66.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07298/0.07337, allocations: 50.38 MB / 443 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.001331/0.07475, allocations: 1.317 MB / 444.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006408/0.0754, allocations: 0.5311 MB / 444.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.07549, allocations: 0 / 444.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.07553, allocations: 3.938 kB / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.07563, allocations: 11.92 kB / 444.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.07588, allocations: 47.89 kB / 444.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.888e-05/0.07598, allocations: 63.72 kB / 445 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.07608, allocations: 20.22 kB / 445 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.907e-05/0.07615, allocations: 23.91 kB / 445.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.222e-05/0.07621, allocations: 23.86 kB / 445.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.07623, allocations: 4 kB / 445.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.07624, allocations: 0 / 445.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.07628, allocations: 11.92 kB / 445.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.07632, allocations: 41.64 kB / 445.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.525e-05/0.07639, allocations: 47.91 kB / 445.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.0764, allocations: 4 kB / 445.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0764, allocations: 0 / 445.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.07641, allocations: 0 / 445.2 MB, free: 13.59 MB / 298.7 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.0003709/0.07679, allocations: 375.3 kB / 445.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.07683, allocations: 8.031 kB / 445.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.07687, allocations: 19.81 kB / 445.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.077, allocations: 198.7 kB / 445.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.07702, allocations: 8 kB / 445.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.07704, allocations: 11.94 kB / 445.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.0773, allocations: 141 kB / 445.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.07731, allocations: 0 / 445.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.07733, allocations: 0 / 445.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.07734, allocations: 0 / 445.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.912e-05/0.07744, allocations: 43.92 kB / 446 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.07779, allocations: 301.6 kB / 446.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.07798, allocations: 170.2 kB / 446.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.438e-05/0.07805, allocations: 37.8 kB / 446.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.07808, allocations: 8.062 kB / 446.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.0782, allocations: 71.39 kB / 446.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.07821, allocations: 0 / 446.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002695/0.07849, allocations: 125.4 kB / 446.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.07853, allocations: 85 kB / 446.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.777e-05/0.07861, allocations: 153.6 kB / 446.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.07863, allocations: 25.7 kB / 446.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.07867, allocations: 100.1 kB / 447 MB, free: 11.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.07869, allocations: 11.81 kB / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.0787, allocations: 4 kB / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.041e-05/0.07874, allocations: 318.8 kB / 447.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.873e-05/0.07881, allocations: 23.98 kB / 447.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.07887, allocations: 61.14 kB / 447.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.518e-05/0.07895, allocations: 24 kB / 447.5 MB, free: 11.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.07896, allocations: 0 / 447.5 MB, free: 11.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002004/0.07916, allocations: 125.4 kB / 447.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.07919, allocations: 5.094 kB / 447.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.0792, allocations: 4 kB / 447.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.07921, allocations: 0 / 447.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.07929, allocations: 23.88 kB / 447.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.07931, allocations: 4 kB / 447.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.318e-05/0.07937, allocations: 8.156 kB / 447.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.07938, allocations: 4 kB / 447.6 MB, free: 10.86 MB / 298.7 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 ($PRE.triggeredSampler.y,triggeredSampler.y,clockToTrigger.y2,$CLKPRE.clockToTrigger.y2,$whenCondition1,triggeredSampler.trigger,$PRE.clockToTrigger.y3,clockToTrigger.y3) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.07946, allocations: 137.6 kB / 447.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.07951, allocations: 45.61 kB / 447.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.07955, allocations: 20.3 kB / 447.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.07956, allocations: 4 kB / 447.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.07957, allocations: 3.953 kB / 447.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.07958, allocations: 3.938 kB / 447.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.07984, allocations: 346.4 kB / 448.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.07985, allocations: 4 kB / 448.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-05/0.07991, allocations: 11.98 kB / 448.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.07992, allocations: 0 / 448.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.07994, allocations: 11.89 kB / 448.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.07994, allocations: 4.375 kB / 448.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.07995, allocations: 0 / 448.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.08013, allocations: 208.5 kB / 448.4 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.08018, allocations: 93 kB / 448.5 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.08021, allocations: 4 kB / 448.5 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.08029, allocations: 7.938 kB / 448.5 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.08033, allocations: 15.98 kB / 448.5 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.08035, allocations: 4 kB / 448.5 MB, free: 9.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.824e-05/0.08041, allocations: 107.2 kB / 448.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.08042, allocations: 0 / 448.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000263/0.08069, allocations: 16 kB / 448.7 MB, free: 9.719 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.178e-05/0.08079, allocations: 99.19 kB / 448.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.081, allocations: 72.09 kB / 448.8 MB, free: 9.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.08101, allocations: 0 / 448.8 MB, free: 9.543 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.741e-05/0.08109, allocations: 19.98 kB / 448.8 MB, free: 9.523 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.08146, allocations: 39.89 kB / 448.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.08186, allocations: 255.8 kB / 449.1 MB, free: 9.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.08202, allocations: 0.7004 MB / 449.8 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.08207, allocations: 11.44 kB / 449.8 MB, free: 8.461 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.08208, allocations: 0 / 449.8 MB, free: 8.461 MB / 298.7 MB Notification: Performance of Templates: time 0.002218/0.0843, allocations: 1.035 MB / 450.9 MB, free: 7.43 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches