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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009579/0.0009581, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009452/0.0009453, allocations: 173.2 kB / 16.62 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08346/0.08346, allocations: 12.61 MB / 283.7 MB, free: 8.68 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006991/0.0006994, allocations: 20 kB / 344.5 MB, free: 21.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1126, allocations: 50.38 MB / 394.9 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002136/0.1148, allocations: 1.325 MB / 396.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009371/0.1158, allocations: 0.5273 MB / 396.8 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.573e-05/0.1159, allocations: 3.938 kB / 396.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/0.1159, allocations: 3.938 kB / 396.8 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.1161, allocations: 11.92 kB / 396.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.1164, allocations: 55.83 kB / 396.9 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.1166, allocations: 55.84 kB / 396.9 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1167, allocations: 16.22 kB / 396.9 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.793e-05/0.1168, allocations: 27.86 kB / 396.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.1169, allocations: 23.86 kB / 397 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1169, allocations: 3.984 kB / 397 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.706e-05/0.1169, allocations: 4 kB / 397 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.117, allocations: 11.92 kB / 397 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.117, allocations: 37.7 kB / 397 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.1171, allocations: 59.83 kB / 397.1 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1171, allocations: 0 / 397.1 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1172, allocations: 0 / 397.1 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1172, allocations: 0 / 397.1 MB, free: 0.5977 MB / 286.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.0006227/0.1178, allocations: 375.2 kB / 397.5 MB, free: 188 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1178, allocations: 8.031 kB / 397.5 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.1179, allocations: 19.8 kB / 397.5 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.1182, allocations: 194.8 kB / 397.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1182, allocations: 12 kB / 397.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.1183, allocations: 4 kB / 397.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.1186, allocations: 140.9 kB / 397.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1186, allocations: 0 / 397.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1187, allocations: 8 kB / 397.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1187, allocations: 0 / 397.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1188, allocations: 31.98 kB / 397.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.1194, allocations: 321.5 kB / 398.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.1197, allocations: 150.3 kB / 398.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.1198, allocations: 37.8 kB / 398.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1198, allocations: 7.922 kB / 398.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.12, allocations: 67.41 kB / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.12, allocations: 0 / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002954/0.1203, allocations: 121.4 kB / 398.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.1204, allocations: 93.05 kB / 398.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1205, allocations: 145.6 kB / 398.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1206, allocations: 25.7 kB / 398.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.1206, allocations: 100.1 kB / 398.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.1207, allocations: 7.812 kB / 398.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.1207, allocations: 4 kB / 398.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1208, allocations: 322.8 kB / 399.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-05/0.1209, allocations: 19.98 kB / 399.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.1209, allocations: 73.02 kB / 399.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.735e-05/0.121, allocations: 35.92 kB / 399.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.121, allocations: 0 / 399.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002008/0.1212, allocations: 117.5 kB / 399.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1213, allocations: 5.25 kB / 399.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1213, allocations: 0 / 399.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1213, allocations: 4 kB / 399.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.1214, allocations: 20.09 kB / 399.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1214, allocations: 7.938 kB / 399.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.1214, allocations: 4 kB / 399.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.1215, allocations: 8 kB / 399.5 MB, free: 13.87 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 ($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 0.0001029/0.1216, allocations: 129.9 kB / 399.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.1217, allocations: 53.59 kB / 399.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.1217, allocations: 16.31 kB / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1217, allocations: 0 / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1217, allocations: 4.266 kB / 399.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1217, allocations: 11.94 kB / 399.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.1221, allocations: 346.5 kB / 400.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1221, allocations: 0 / 400.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.1222, allocations: 11.98 kB / 400.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1222, allocations: 4 kB / 400.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1222, allocations: 11.89 kB / 400.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1222, allocations: 0 / 400.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1222, allocations: 4 kB / 400.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.1224, allocations: 200.2 kB / 400.3 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/0.1225, allocations: 97 kB / 400.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1226, allocations: 0 / 400.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.1226, allocations: 15.94 kB / 400.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.1227, allocations: 8 kB / 400.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1227, allocations: 0 / 400.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.444e-05/0.1228, allocations: 111.2 kB / 400.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.667e-06/0.1228, allocations: 0 / 400.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.123, allocations: 19.94 kB / 400.5 MB, free: 12.73 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 (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 0.0001001/0.1231, allocations: 91.25 kB / 400.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1233, allocations: 68.03 kB / 400.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1233, allocations: 96 / 400.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.552e-05/0.1234, allocations: 31.86 kB / 400.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1238, allocations: 28.02 kB / 400.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.1242, allocations: 238.1 kB / 401 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1245, allocations: 0.6965 MB / 401.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.542e-05/0.1245, allocations: 4.672 kB / 401.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.1246, allocations: 19.44 kB / 401.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1246, allocations: 0 / 401.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Templates: time 0.003187/0.1278, allocations: 0.7035 MB / 402.4 MB, free: 10.8 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/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