Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.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.TestExactClockWithIntegrator,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestExactClockWithIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestExactClockWithIntegrator",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.002332/0.002332, allocations: 180.7 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.194/2.194, allocations: 205.2 MB / 219 MB, free: 9.203 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.00114/0.001139, allocations: 82.62 kB / 267.1 MB, free: 9.285 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.1073/0.1073, allocations: 12.58 MB / 327.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.765e-05, allocations: 7.984 kB / 386.1 MB, free: 69.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 50.38 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4805/0.5882, allocations: 78.41 MB / 0.5028 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.5885, allocations: 59.48 kB / 0.5029 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007038/0.5955, allocations: 1.769 MB / 0.5046 GB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5956, allocations: 0 / 0.5046 GB, free: 11.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.5956, allocations: 15.78 kB / 0.5046 GB, free: 11.48 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004121/0.596, allocations: 361.4 kB / 0.505 GB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.5961, allocations: 7.844 kB / 0.505 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.5962, allocations: 37.09 kB / 0.505 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.5962, allocations: 11.69 kB / 0.505 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.5964, allocations: 195.4 kB / 0.5052 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.5965, allocations: 10.72 kB / 0.5052 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.5965, allocations: 7.844 kB / 0.5052 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.5968, allocations: 104.2 kB / 0.5053 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5968, allocations: 0 / 0.5053 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5968, allocations: 3.938 kB / 0.5053 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.5969, allocations: 0 / 0.5053 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.889e-05/0.5969, allocations: 22.81 kB / 0.5053 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.5974, allocations: 283.7 kB / 0.5056 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.5978, allocations: 79.17 kB / 0.5057 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.5979, allocations: 26.94 kB / 0.5057 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.5979, allocations: 0 / 0.5057 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.5979, allocations: 33.94 kB / 0.5058 GB, free: 10.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.5979, allocations: 0 / 0.5058 GB, free: 10.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002047/0.5981, allocations: 61.88 kB / 0.5058 GB, free: 10.35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.5982, allocations: 83.86 kB / 0.5059 GB, free: 10.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.5984, allocations: 134 kB / 0.506 GB, free: 10.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.5984, allocations: 29.2 kB / 0.506 GB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.5985, allocations: 94.05 kB / 0.5061 GB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.5985, allocations: 3.25 kB / 0.5061 GB, free: 10.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/0.5985, allocations: 0 / 0.5061 GB, free: 10.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.5986, allocations: 325.6 kB / 0.5064 GB, free: 9.723 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.5986, allocations: 7.406 kB / 0.5065 GB, free: 9.723 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.907e-05/0.5987, allocations: 51.55 kB / 0.5065 GB, free: 9.676 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.5988, allocations: 95.06 kB / 0.5066 GB, free: 9.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5989, allocations: 0 / 0.5066 GB, free: 9.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001573/0.599, allocations: 89.11 kB / 0.5067 GB, free: 9.535 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.599, allocations: 3.906 kB / 0.5067 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.5991, allocations: 0 / 0.5067 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.5991, allocations: 3.906 kB / 0.5067 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.5992, allocations: 14.55 kB / 0.5067 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.5992, allocations: 0 / 0.5067 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.716e-05/0.5993, allocations: 11.75 kB / 0.5067 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.5994, allocations: 3.969 kB / 0.5067 GB, free: 9.527 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: firstOrder.y = firstOrder.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.115e-05/0.5995, allocations: 123.3 kB / 0.5068 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.5996, allocations: 62.23 kB / 0.5069 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.5996, allocations: 11.62 kB / 0.5069 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.5996, allocations: 3.141 kB / 0.5069 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5997, allocations: 0 / 0.5069 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5997, allocations: 3.688 kB / 0.5069 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.5999, allocations: 177 kB / 0.5071 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.5999, allocations: 0 / 0.5071 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.6001, allocations: 21.56 kB / 0.5071 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.6001, allocations: 0 / 0.5071 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.6001, allocations: 0 / 0.5071 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.6001, allocations: 4 kB / 0.5071 GB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6001, allocations: 4.125 kB / 0.5071 GB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.6003, allocations: 192.8 kB / 0.5073 GB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.6004, allocations: 92.47 kB / 0.5074 GB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.6004, allocations: 0 / 0.5074 GB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.6006, allocations: 12.78 kB / 0.5074 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.6006, allocations: 64 / 0.5074 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.6006, allocations: 7.969 kB / 0.5074 GB, free: 8.891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.974e-05/0.6007, allocations: 116.2 kB / 0.5075 GB, free: 8.812 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6007, allocations: 0 / 0.5075 GB, free: 8.812 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.601, allocations: 11.66 kB / 0.5075 GB, free: 8.812 MB / 330.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0004532/0.6015, allocations: 0.8069 MB / 0.5083 GB, free: 8.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.6017, allocations: 36.5 kB / 0.5083 GB, free: 8.047 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6017, allocations: 0 / 0.5083 GB, free: 8.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.737e-05/0.6018, allocations: 6.578 kB / 0.5084 GB, free: 8.047 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.6021, allocations: 25.92 kB / 0.5084 GB, free: 8.047 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005626/0.6027, allocations: 171.5 kB / 0.5085 GB, free: 7.902 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.6029, allocations: 0.705 MB / 0.5092 GB, free: 7.203 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.704e-05/0.603, allocations: 0 / 0.5092 GB, free: 7.203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.603, allocations: 21.8 kB / 0.5092 GB, free: 7.199 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.603, allocations: 0 / 0.5092 GB, free: 7.199 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.6276, allocations: 1.699 MB / 0.5109 GB, free: 6.535 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003341/0.628, allocations: 191.2 kB / 0.5111 GB, free: 6.301 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/3.23, allocations: 3.906 kB / 0.5111 GB, free: 6.297 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestExactClockWithIntegrator_fmu --startTime=0 --stopTime=0.0001 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestExactClockWithIntegrator.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe 2>&1)