Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 112.2 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001075, allocations: 42.31 kB / 300.1 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1131, allocations: 49.46 MB / 349.5 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003052/0.1162, allocations: 1.674 MB / 351.2 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008608/0.1171, allocations: 0.5065 MB / 351.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1172, allocations: 4 kB / 351.7 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.488e-05/0.1173, allocations: 3.938 kB / 351.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.1175, allocations: 3.938 kB / 351.7 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1178, allocations: 51.88 kB / 351.8 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.1179, allocations: 59.84 kB / 351.8 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.118, allocations: 24.22 kB / 351.8 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.1181, allocations: 31.84 kB / 351.9 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.1182, allocations: 31.8 kB / 351.9 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.1182, allocations: 4 kB / 351.9 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.1182, allocations: 4 kB / 351.9 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.1183, allocations: 15.92 kB / 351.9 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.1183, allocations: 35.73 kB / 352 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1185, allocations: 67.72 kB / 352 MB, free: 2.207 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1185, allocations: 0 / 352 MB, free: 2.207 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1185, allocations: 4 kB / 352 MB, free: 2.203 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1185, allocations: 4 kB / 352 MB, free: 2.199 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.0005077/0.119, allocations: 395.3 kB / 352.4 MB, free: 1.766 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1191, allocations: 12.03 kB / 352.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.1191, allocations: 38.73 kB / 352.5 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.1192, allocations: 16.75 kB / 352.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.1194, allocations: 204 kB / 352.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1194, allocations: 384 / 352.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.1194, allocations: 8.375 kB / 352.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.1198, allocations: 137.1 kB / 352.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1198, allocations: 4 kB / 352.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1198, allocations: 4 kB / 352.8 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1198, allocations: 4 kB / 352.8 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1199, allocations: 35.91 kB / 352.9 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.1205, allocations: 317.4 kB / 353.2 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.1207, allocations: 158.2 kB / 353.3 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.1208, allocations: 41.8 kB / 353.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1208, allocations: 0 / 353.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.121, allocations: 63.39 kB / 353.5 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.724e-06/0.121, allocations: 0 / 353.5 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003244/0.1214, allocations: 117.5 kB / 353.6 MB, free: 460 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.1214, allocations: 81.11 kB / 353.6 MB, free: 360 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1216, allocations: 148.6 kB / 353.8 MB, free: 204 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1216, allocations: 25.7 kB / 353.8 MB, free: 172 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.1217, allocations: 96.05 kB / 353.9 MB, free: 72 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.1217, allocations: 15.89 kB / 353.9 MB, free: 56 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.1217, allocations: 25.62 kB / 354 MB, free: 24 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1219, allocations: 326.8 kB / 354.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/0.122, allocations: 27.92 kB / 354.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.122, allocations: 65.08 kB / 354.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1222, allocations: 77.08 kB / 354.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1222, allocations: 4 kB / 354.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002268/0.1224, allocations: 113.4 kB / 354.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1225, allocations: 11.94 kB / 354.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1225, allocations: 3.984 kB / 354.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1225, allocations: 8.156 kB / 354.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.701e-05/0.1226, allocations: 15.92 kB / 354.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.1226, allocations: 4 kB / 354.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.536e-05/0.1227, allocations: 4 kB / 354.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1227, allocations: 4 kB / 354.6 MB, free: 15.32 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 (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.0001036/0.1228, allocations: 125.8 kB / 354.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.1229, allocations: 57.55 kB / 354.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.1229, allocations: 16.3 kB / 354.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1229, allocations: 320 / 354.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.123, allocations: 8 kB / 354.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.123, allocations: 0 / 354.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.1233, allocations: 350.7 kB / 355.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1233, allocations: 7.938 kB / 355.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.1234, allocations: 7.984 kB / 355.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1234, allocations: 4 kB / 355.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1234, allocations: 7.984 kB / 355.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1234, allocations: 3.938 kB / 355.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1235, allocations: 4 kB / 355.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.1237, allocations: 204.2 kB / 355.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.1238, allocations: 93 kB / 355.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1238, allocations: 4 kB / 355.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.1239, allocations: 7.938 kB / 355.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.1239, allocations: 7.984 kB / 355.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1239, allocations: 4 kB / 355.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.031e-05/0.124, allocations: 111.2 kB / 355.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.124, allocations: 0 / 355.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1243, allocations: 16 kB / 355.6 MB, free: 14.19 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 (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.0006358/0.1249, allocations: 0.76 MB / 356.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1251, allocations: 71.84 kB / 356.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1251, allocations: 0 / 356.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.556e-05/0.1252, allocations: 19.98 kB / 356.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1256, allocations: 27.89 kB / 356.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.1272, allocations: 1.567 MB / 358.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1275, allocations: 0.7043 MB / 358.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.985e-05/0.1276, allocations: 8.656 kB / 358.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.1277, allocations: 23.44 kB / 358.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1277, allocations: 0 / 358.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.141, allocations: 1.816 MB / 360.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/0.1412, allocations: 240.7 kB / 360.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.037, allocations: 0 / 360.8 MB, free: 8.902 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches