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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001741/0.001748, allocations: 109.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 210.8 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.406/2.406, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 63.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4184, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003354/0.4218, allocations: 1.643 MB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.423, allocations: 0.5687 MB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.4232, allocations: 0 / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.893e-05/0.4233, allocations: 19.8 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.4235, allocations: 7.938 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.4239, allocations: 67.75 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.424, allocations: 67.83 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.4242, allocations: 16.22 kB / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.4243, allocations: 35.86 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.767e-05/0.4244, allocations: 35.77 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.4245, allocations: 12 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.811e-05/0.4245, allocations: 8 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.168e-05/0.4246, allocations: 19.92 kB / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.4246, allocations: 43.73 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.4248, allocations: 79.59 kB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4248, allocations: 0 / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4248, allocations: 0 / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.4248, allocations: 0 / 412.6 MB, free: 14.96 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006171/0.4255, allocations: 400.1 kB / 412.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4255, allocations: 12.03 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.4257, allocations: 28.84 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.4261, allocations: 208 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.4261, allocations: 4.375 kB / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.4261, allocations: 12.12 kB / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.4264, allocations: 137 kB / 413.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4265, allocations: 0 / 413.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.4265, allocations: 4 kB / 413.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4265, allocations: 4 kB / 413.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.4266, allocations: 35.89 kB / 413.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.4271, allocations: 309.6 kB / 413.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.4274, allocations: 158.2 kB / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.674e-05/0.4275, allocations: 33.8 kB / 413.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.4275, allocations: 7.938 kB / 413.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.4276, allocations: 67.39 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.4276, allocations: 0 / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003302/0.428, allocations: 113.5 kB / 414.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.428, allocations: 81.11 kB / 414.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.4282, allocations: 157.6 kB / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.4282, allocations: 25.7 kB / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.4283, allocations: 100 kB / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.4283, allocations: 19.83 kB / 414.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.4283, allocations: 29.62 kB / 414.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4285, allocations: 318.8 kB / 414.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.496e-05/0.4285, allocations: 19.98 kB / 414.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.259e-05/0.4286, allocations: 65.08 kB / 414.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.4288, allocations: 85.06 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4288, allocations: 4 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001994/0.429, allocations: 109.5 kB / 415 MB, free: 12.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.429, allocations: 8 kB / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.429, allocations: 0 / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.429, allocations: 4 kB / 415.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.4291, allocations: 15.92 kB / 415.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4292, allocations: 8.25 kB / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.676e-05/0.4292, allocations: 4.156 kB / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4292, allocations: 12 kB / 415.1 MB, free: 12.11 MB / 334.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.0001015/0.4293, allocations: 125.8 kB / 415.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/0.4294, allocations: 61.47 kB / 415.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.4295, allocations: 12.31 kB / 415.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.4295, allocations: 0 / 415.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.4295, allocations: 7.938 kB / 415.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4295, allocations: 0 / 415.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.4299, allocations: 354.7 kB / 415.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4299, allocations: 4 kB / 415.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.43, allocations: 11.98 kB / 415.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.43, allocations: 7.922 kB / 415.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.43, allocations: 0 / 415.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.43, allocations: 0 / 415.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.43, allocations: 4 kB / 415.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.4303, allocations: 204.2 kB / 415.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.4303, allocations: 96.88 kB / 416 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.4304, allocations: 8 kB / 416 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.4305, allocations: 3.984 kB / 416 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.4305, allocations: 4 kB / 416 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.4305, allocations: 4 kB / 416 MB, free: 11.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.084e-05/0.4306, allocations: 114.4 kB / 416.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4306, allocations: 0 / 416.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.4309, allocations: 12 kB / 416.1 MB, free: 10.98 MB / 334.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.0001249/0.431, allocations: 111.2 kB / 416.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.4312, allocations: 59.91 kB / 416.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4312, allocations: 0 / 416.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.4313, allocations: 19.98 kB / 416.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.4317, allocations: 42.12 kB / 416.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.4321, allocations: 234.5 kB / 416.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.4324, allocations: 0.7002 MB / 417.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.4325, allocations: 15.44 kB / 417.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4325, allocations: 96 / 417.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of Templates: time 0.003288/0.4358, allocations: 1.078 MB / 418.4 MB, free: 8.656 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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