Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.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.WorkInProgress.Tests.TestClockedRealToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger",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.001029/0.001029, allocations: 174.8 kB / 16.12 MB, free: 5.688 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.704/1.704, allocations: 205 MB / 221.9 MB, free: 9.16 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.0007942/0.0007942, allocations: 100.2 kB / 269.9 MB, free: 8.68 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.08358/0.08357, allocations: 12.57 MB / 330.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003568, allocations: 12.28 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.09914, allocations: 49.98 MB / 441.1 MB, free: 16.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.001494/0.1007, allocations: 1.305 MB / 442.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006943/0.1014, allocations: 0.4958 MB / 442.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.1015, allocations: 0 / 442.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.1015, allocations: 11.86 kB / 442.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.295e-05/0.1016, allocations: 7.938 kB / 443 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.1019, allocations: 47.89 kB / 443 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.805e-05/0.1019, allocations: 47.91 kB / 443.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.102, allocations: 15.98 kB / 443.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.363e-05/0.1021, allocations: 31.8 kB / 443.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.1022, allocations: 23.84 kB / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1022, allocations: 4 kB / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.1022, allocations: 0 / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.1022, allocations: 11.98 kB / 443.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.1023, allocations: 23.81 kB / 443.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.819e-05/0.1024, allocations: 64 kB / 443.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1024, allocations: 0 / 443.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1024, allocations: 0 / 443.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1024, allocations: 0 / 443.2 MB, free: 14.2 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003667/0.1028, allocations: 351.3 kB / 443.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1028, allocations: 12.03 kB / 443.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.1029, allocations: 38.73 kB / 443.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.1029, allocations: 8.844 kB / 443.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.103, allocations: 192.2 kB / 443.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1031, allocations: 4.375 kB / 443.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1031, allocations: 8.375 kB / 443.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.1033, allocations: 141.1 kB / 444 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1034, allocations: 4 kB / 444 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1034, allocations: 0 / 444 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1034, allocations: 0 / 444 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1035, allocations: 39.92 kB / 444 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.1039, allocations: 305.5 kB / 444.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1041, allocations: 158.2 kB / 444.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.564e-05/0.1042, allocations: 41.8 kB / 444.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1042, allocations: 4 kB / 444.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.1043, allocations: 67.39 kB / 444.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1044, allocations: 0 / 444.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002915/0.1047, allocations: 121.6 kB / 444.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.1047, allocations: 89.11 kB / 444.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.805e-05/0.1048, allocations: 113.8 kB / 444.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.1048, allocations: 29.7 kB / 444.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.1048, allocations: 96.06 kB / 445 MB, free: 12.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.1049, allocations: 19.88 kB / 445 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.1049, allocations: 13.72 kB / 445 MB, free: 12.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.105, allocations: 322.8 kB / 445.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.105, allocations: 31.98 kB / 445.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.243e-05/0.1051, allocations: 57.14 kB / 445.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.1052, allocations: 89.06 kB / 445.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1052, allocations: 0 / 445.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001636/0.1054, allocations: 121.5 kB / 445.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1054, allocations: 4 kB / 445.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1054, allocations: 0 / 445.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1055, allocations: 4 kB / 445.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.417e-05/0.1055, allocations: 20.3 kB / 445.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1055, allocations: 0 / 445.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.1056, allocations: 11.94 kB / 445.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1056, allocations: 4 kB / 445.7 MB, free: 11.41 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,ClockedRealToTrigger.y3,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y,$whenCondition1,$CLKPRE.ClockedRealToTrigger.y2,ClockedRealToTrigger.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedRealToTrigger.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 8.589e-05/0.1057, allocations: 134.6 kB / 445.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.1058, allocations: 49.59 kB / 445.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.1058, allocations: 15.95 kB / 445.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1058, allocations: 0 / 445.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1058, allocations: 0 / 445.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1058, allocations: 3.938 kB / 445.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.1061, allocations: 334.8 kB / 446.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1061, allocations: 4 kB / 446.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.304e-05/0.1062, allocations: 16.05 kB / 446.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1062, allocations: 0 / 446.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1062, allocations: 11.94 kB / 446.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1062, allocations: 0 / 446.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1062, allocations: 0 / 446.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.1064, allocations: 204.2 kB / 446.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.1064, allocations: 88.95 kB / 446.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1065, allocations: 7.938 kB / 446.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.1065, allocations: 4 kB / 446.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.1066, allocations: 7.984 kB / 446.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1066, allocations: 0 / 446.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.051e-05/0.1066, allocations: 91.27 kB / 446.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1066, allocations: 0 / 446.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.1068, allocations: 20 kB / 446.7 MB, free: 10.32 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 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.y3) * Number of clocked states: 1 (ClockedRealToTrigger.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.0004099/0.1073, allocations: 0.7682 MB / 447.4 MB, free: 9.527 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1074, allocations: 71.91 kB / 447.5 MB, free: 9.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1074, allocations: 0 / 447.5 MB, free: 9.457 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/0.1075, allocations: 20 kB / 447.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.1077, allocations: 28.14 kB / 447.5 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1088, allocations: 1.501 MB / 449 MB, free: 7.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.109, allocations: 0.6926 MB / 449.7 MB, free: 7.074 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.109, allocations: 11.94 kB / 449.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.109, allocations: 23.44 kB / 449.8 MB, free: 7.043 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1091, allocations: 0 / 449.8 MB, free: 7.043 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.1283, allocations: 1.587 MB / 451.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.1285, allocations: 229.8 kB / 451.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/1.692, allocations: 0 / 451.6 MB, free: 5.195 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1)