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: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009458/0.0009459, allocations: 174.3 kB / 16.11 MB, free: 5.695 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.207/1.207, allocations: 205 MB / 221.9 MB, free: 9.152 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.0007185/0.0007184, allocations: 94.25 kB / 269.9 MB, free: 8.676 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.06887/0.06887, allocations: 12.57 MB / 330.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005675/0.0005676, allocations: 12 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1099, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.001687/0.1116, allocations: 1.348 MB / 442.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008057/0.1124, allocations: 0.5385 MB / 443 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.1125, allocations: 0 / 443 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.685e-05/0.1126, allocations: 3.938 kB / 443 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.1127, allocations: 11.92 kB / 443 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1131, allocations: 55.83 kB / 443.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.266e-05/0.1132, allocations: 59.84 kB / 443.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1133, allocations: 16.22 kB / 443.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.23e-05/0.1134, allocations: 27.86 kB / 443.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.634e-05/0.1134, allocations: 27.84 kB / 443.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1134, allocations: 4 kB / 443.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.1135, allocations: 0 / 443.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.1135, allocations: 19.92 kB / 443.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.1136, allocations: 43.67 kB / 443.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.1137, allocations: 63.94 kB / 443.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1137, allocations: 0 / 443.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1137, allocations: 0 / 443.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1137, allocations: 0 / 443.4 MB, free: 14.06 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.0004513/0.1142, allocations: 375.2 kB / 443.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1142, allocations: 8.031 kB / 443.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.1143, allocations: 38.73 kB / 443.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.1143, allocations: 20.75 kB / 443.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.1145, allocations: 200.1 kB / 444 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1145, allocations: 8.312 kB / 444 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.1145, allocations: 4.375 kB / 444 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.1148, allocations: 158.4 kB / 444.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1148, allocations: 3.938 kB / 444.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1148, allocations: 0 / 444.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.1148, allocations: 4 kB / 444.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1149, allocations: 35.97 kB / 444.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.1154, allocations: 313.6 kB / 444.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.1156, allocations: 150.3 kB / 444.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.183e-05/0.1157, allocations: 49.73 kB / 444.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1157, allocations: 3.984 kB / 444.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.1158, allocations: 59.41 kB / 444.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1159, allocations: 0 / 444.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002761/0.1161, allocations: 133.4 kB / 444.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1162, allocations: 81.11 kB / 445 MB, free: 12.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.1163, allocations: 141.6 kB / 445.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.1163, allocations: 29.7 kB / 445.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.1163, allocations: 100.2 kB / 445.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1164, allocations: 15.81 kB / 445.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.1164, allocations: 17.7 kB / 445.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.1165, allocations: 322.8 kB / 445.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.1165, allocations: 27.98 kB / 445.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.1166, allocations: 69 kB / 445.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.1167, allocations: 89.08 kB / 445.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1167, allocations: 0 / 445.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001674/0.1169, allocations: 121.5 kB / 445.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1169, allocations: 4 kB / 445.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1169, allocations: 0 / 445.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.117, allocations: 4 kB / 445.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.015e-05/0.117, allocations: 19.92 kB / 445.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.117, allocations: 0 / 445.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.1171, allocations: 7.938 kB / 445.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1171, allocations: 7.984 kB / 445.9 MB, free: 11.17 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 7.368e-05/0.1172, allocations: 134.7 kB / 446.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.1173, allocations: 57.53 kB / 446.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.1173, allocations: 12.31 kB / 446.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1173, allocations: 0 / 446.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1173, allocations: 0 / 446.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1173, allocations: 4 kB / 446.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.1176, allocations: 354.8 kB / 446.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1176, allocations: 0 / 446.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/0.1177, allocations: 19.94 kB / 446.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1177, allocations: 0 / 446.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1177, allocations: 240 / 446.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1177, allocations: 11.86 kB / 446.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.1177, allocations: 4 kB / 446.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.1179, allocations: 208.2 kB / 446.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.1179, allocations: 93 kB / 446.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.118, allocations: 4 kB / 446.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.118, allocations: 7.922 kB / 446.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.1181, allocations: 4 kB / 446.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1181, allocations: 8 kB / 446.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.6e-05/0.1181, allocations: 107.2 kB / 446.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1181, allocations: 4 kB / 446.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.1184, allocations: 12 kB / 446.9 MB, free: 10.04 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 0.0004291/0.1188, allocations: 0.764 MB / 447.7 MB, free: 9.242 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.119, allocations: 71.84 kB / 447.8 MB, free: 9.172 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.119, allocations: 0 / 447.8 MB, free: 9.172 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.154e-05/0.119, allocations: 19.98 kB / 447.8 MB, free: 9.152 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.1194, allocations: 31.95 kB / 447.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.1206, allocations: 1.575 MB / 449.4 MB, free: 7.434 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.1207, allocations: 0.7004 MB / 450.1 MB, free: 6.707 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.765e-05/0.1207, allocations: 4.672 kB / 450.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.1208, allocations: 23.42 kB / 450.1 MB, free: 6.68 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1208, allocations: 3.938 kB / 450.1 MB, free: 6.676 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08039/0.2012, allocations: 1.766 MB / 451.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.2015, allocations: 247 kB / 452.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.193, allocations: 0 / 452.1 MB, free: 4.641 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > 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