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.001153/0.001154, allocations: 97.45 kB / 15.73 MB, free: 440 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.001139/0.001139, allocations: 178.8 kB / 16.61 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.56/1.56, allocations: 205.4 MB / 222.8 MB, free: 5.672 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.08424/0.08424, allocations: 12.59 MB / 283.6 MB, free: 8.715 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.000758/0.0007581, allocations: 20 kB / 344.5 MB, free: 21.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1144, allocations: 50.38 MB / 394.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002938/0.1173, allocations: 1.323 MB / 396.2 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1187, allocations: 0.5155 MB / 396.7 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.119, allocations: 4 kB / 396.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.657e-05/0.1191, allocations: 7.875 kB / 396.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.1194, allocations: 11.97 kB / 396.8 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.1199, allocations: 47.83 kB / 396.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.1202, allocations: 51.88 kB / 396.8 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1203, allocations: 16.22 kB / 396.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1205, allocations: 15.94 kB / 396.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1206, allocations: 31.83 kB / 396.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1206, allocations: 0 / 396.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.583e-05/0.1207, allocations: 4 kB / 396.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.024e-05/0.1207, allocations: 15.92 kB / 396.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.377e-05/0.1208, allocations: 45.58 kB / 397 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1209, allocations: 47.91 kB / 397 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1209, allocations: 4 kB / 397 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.1209, allocations: 0 / 397 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1209, allocations: 0 / 397 MB, free: 0.6406 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.0007522/0.1217, allocations: 383.2 kB / 397.4 MB, free: 224 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.1218, allocations: 8.031 kB / 397.4 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.002e-05/0.1219, allocations: 15.81 kB / 397.4 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.1222, allocations: 194.8 kB / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1222, allocations: 4 kB / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.1223, allocations: 12 kB / 397.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.1227, allocations: 140.9 kB / 397.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1227, allocations: 0 / 397.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.1227, allocations: 8 kB / 397.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1228, allocations: 4 kB / 397.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.1229, allocations: 35.91 kB / 397.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.1236, allocations: 305.6 kB / 398.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.1238, allocations: 162.3 kB / 398.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1239, allocations: 0 / 398.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.1241, allocations: 63.5 kB / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.1241, allocations: 0 / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003889/0.1245, allocations: 137.4 kB / 398.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/0.1246, allocations: 89.06 kB / 398.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1247, allocations: 141.6 kB / 398.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.1248, allocations: 33.64 kB / 398.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.1249, allocations: 96.14 kB / 398.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.1249, allocations: 19.75 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.1249, allocations: 0 / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.125, allocations: 322.8 kB / 399.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/0.1251, allocations: 19.98 kB / 399.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.35e-05/0.1252, allocations: 61.14 kB / 399.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.705e-05/0.1253, allocations: 31.98 kB / 399.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1253, allocations: 3.938 kB / 399.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002481/0.1256, allocations: 117.5 kB / 399.4 MB, free: 14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1256, allocations: 8 kB / 399.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1256, allocations: 0 / 399.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1256, allocations: 4 kB / 399.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.05e-05/0.1257, allocations: 19.88 kB / 399.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1257, allocations: 4 kB / 399.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/0.1258, allocations: 8 kB / 399.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1258, allocations: 8.141 kB / 399.4 MB, free: 13.95 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.0001111/0.126, allocations: 125.8 kB / 399.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.689e-05/0.126, allocations: 61.53 kB / 399.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.1261, allocations: 8.312 kB / 399.6 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1261, allocations: 4 kB / 399.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1261, allocations: 3.953 kB / 399.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1261, allocations: 3.984 kB / 399.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.1265, allocations: 354.5 kB / 400 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1266, allocations: 0 / 400 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.987e-05/0.1266, allocations: 12 kB / 400 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1266, allocations: 0 / 400 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.1267, allocations: 7.953 kB / 400 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1267, allocations: 3.984 kB / 400 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1267, allocations: 384 / 400 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.127, allocations: 217.9 kB / 400.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.1271, allocations: 93 kB / 400.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.1271, allocations: 11.95 kB / 400.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.1272, allocations: 7.984 kB / 400.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.1272, allocations: 0 / 400.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1272, allocations: 4 kB / 400.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.806e-05/0.1273, allocations: 111.9 kB / 400.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1274, allocations: 0 / 400.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1276, allocations: 16 kB / 400.5 MB, free: 12.8 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.0001205/0.1277, allocations: 99.25 kB / 400.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.128, allocations: 68.08 kB / 400.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.128, allocations: 320 / 400.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.216e-05/0.1281, allocations: 28.08 kB / 400.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.1284, allocations: 32.19 kB / 400.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.1289, allocations: 234 kB / 400.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.1292, allocations: 0.7082 MB / 401.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.85e-05/0.1292, allocations: 4.672 kB / 401.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.1293, allocations: 11.44 kB / 401.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1293, allocations: 0 / 401.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Templates: time 0.00323/0.1325, allocations: 0.6989 MB / 402.3 MB, free: 10.87 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