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.001171/0.001171, allocations: 173.6 kB / 16.76 MB, free: 4.91 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.527/1.527, allocations: 205 MB / 222.6 MB, free: 9.137 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.0006905/0.0006906, allocations: 101.1 kB / 270.5 MB, free: 8.664 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.06208/0.06208, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003368, allocations: 12 kB / 391.7 MB, free: 66.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06321/0.06357, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.001534/0.06515, allocations: 1.352 MB / 443 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006783/0.06585, allocations: 0.5346 MB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.06596, allocations: 0 / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.394e-05/0.06601, allocations: 7.922 kB / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.06613, allocations: 15.94 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.06641, allocations: 47.89 kB / 443.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.481e-05/0.0665, allocations: 63.77 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.611e-05/0.06661, allocations: 20.22 kB / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.093e-05/0.06668, allocations: 27.86 kB / 443.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.06674, allocations: 23.84 kB / 443.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.06677, allocations: 4 kB / 443.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.06678, allocations: 0 / 443.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.337e-05/0.06683, allocations: 19.92 kB / 443.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.06688, allocations: 35.73 kB / 443.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.782e-05/0.06695, allocations: 44.19 kB / 443.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.06696, allocations: 0 / 443.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.06696, allocations: 0 / 443.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.06697, allocations: 0 / 443.9 MB, free: 14.17 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.0003589/0.06734, allocations: 383.1 kB / 444.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.06737, allocations: 8.031 kB / 444.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.06742, allocations: 20.75 kB / 444.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.06756, allocations: 204 kB / 444.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.06758, allocations: 8.375 kB / 444.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.0676, allocations: 4.375 kB / 444.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.06785, allocations: 146.7 kB / 444.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.06787, allocations: 3.938 kB / 444.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.06789, allocations: 0 / 444.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.0679, allocations: 4 kB / 444.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.068, allocations: 39.97 kB / 444.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.06836, allocations: 309.5 kB / 445 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.06854, allocations: 158.2 kB / 445.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.603e-05/0.06862, allocations: 45.8 kB / 445.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.06865, allocations: 0 / 445.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.06877, allocations: 67.33 kB / 445.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.06878, allocations: 0 / 445.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002556/0.06904, allocations: 125.5 kB / 445.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.06909, allocations: 85.02 kB / 445.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.06917, allocations: 145.6 kB / 445.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.06919, allocations: 29.7 kB / 445.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.06923, allocations: 92.14 kB / 445.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.06925, allocations: 19.86 kB / 445.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.06928, allocations: 17.72 kB / 445.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.832e-05/0.06932, allocations: 326.8 kB / 446.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.888e-05/0.06939, allocations: 23.98 kB / 446.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.06945, allocations: 61.14 kB / 446.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.06957, allocations: 93.02 kB / 446.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.06958, allocations: 0 / 446.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001932/0.06978, allocations: 121.5 kB / 446.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.0698, allocations: 8 kB / 446.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.06981, allocations: 0 / 446.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.06983, allocations: 4 kB / 446.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.06991, allocations: 15.92 kB / 446.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.06992, allocations: 4 kB / 446.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.06998, allocations: 4.188 kB / 446.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.06999, allocations: 4 kB / 446.4 MB, free: 11.33 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 (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 6.443e-05/0.07006, allocations: 145.7 kB / 446.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.07012, allocations: 53.59 kB / 446.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.07015, allocations: 20.3 kB / 446.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.07016, allocations: 0 / 446.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.07017, allocations: 0 / 446.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.07018, allocations: 0 / 446.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.07044, allocations: 354.7 kB / 447 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.07045, allocations: 4.062 kB / 447 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.07051, allocations: 11.98 kB / 447 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.07052, allocations: 0 / 447 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.07054, allocations: 4 kB / 447 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.07054, allocations: 0 / 447 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.07055, allocations: 7.875 kB / 447 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.07072, allocations: 204.2 kB / 447.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.07077, allocations: 101 kB / 447.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.0708, allocations: 0 / 447.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.07087, allocations: 7.938 kB / 447.3 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.07091, allocations: 11.92 kB / 447.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.07092, allocations: 4 kB / 447.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.502e-05/0.07097, allocations: 107.3 kB / 447.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.07098, allocations: 4 kB / 447.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.0712, allocations: 12 kB / 447.4 MB, free: 10.19 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.542e-05/0.07127, allocations: 99.23 kB / 447.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.07144, allocations: 67.91 kB / 447.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.07145, allocations: 0 / 447.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.572e-05/0.07151, allocations: 28.23 kB / 447.6 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.07182, allocations: 24.03 kB / 447.7 MB, free: 9.969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.07214, allocations: 259.4 kB / 447.9 MB, free: 9.684 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.07225, allocations: 0.7083 MB / 448.6 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.07229, allocations: 15.38 kB / 448.6 MB, free: 8.934 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.07229, allocations: 0 / 448.6 MB, free: 8.934 MB / 298.7 MB Notification: Performance of Templates: time 0.001954/0.07425, allocations: 1.035 MB / 449.7 MB, free: 7.902 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