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.001554/0.001554, allocations: 183.9 kB / 15.8 MB, free: 6.316 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.123/2.123, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001152/0.001151, allocations: 94.88 kB / 270.3 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09927/0.09927, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005753/0.0005752, allocations: 17.06 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.09736, allocations: 50.37 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.2443, allocations: 78.5 MB / 0.5088 GB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.2446, allocations: 67.97 kB / 0.5088 GB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007688/0.2523, allocations: 1.791 MB / 0.5106 GB, free: 10.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2524, allocations: 0 / 0.5106 GB, free: 10.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.2524, allocations: 4 kB / 0.5106 GB, free: 10.38 MB / 362.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.0005558/0.253, allocations: 379 kB / 0.5109 GB, free: 9.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.253, allocations: 8.031 kB / 0.5109 GB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.2531, allocations: 38.56 kB / 0.511 GB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.2532, allocations: 7.906 kB / 0.511 GB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.2534, allocations: 211 kB / 0.5112 GB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2535, allocations: 3.953 kB / 0.5112 GB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.2535, allocations: 4 kB / 0.5112 GB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.2539, allocations: 113 kB / 0.5113 GB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2539, allocations: 3.938 kB / 0.5113 GB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2539, allocations: 0 / 0.5113 GB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2539, allocations: 4 kB / 0.5113 GB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.2541, allocations: 35.91 kB / 0.5113 GB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.2546, allocations: 279.5 kB / 0.5116 GB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.2551, allocations: 85.22 kB / 0.5117 GB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.2552, allocations: 0 / 0.5117 GB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.2552, allocations: 30.56 kB / 0.5117 GB, free: 9.004 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.2552, allocations: 0 / 0.5117 GB, free: 9.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004027/0.2556, allocations: 101.6 kB / 0.5118 GB, free: 8.898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.795e-05/0.2557, allocations: 77.11 kB / 0.5119 GB, free: 8.805 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.2559, allocations: 130.1 kB / 0.512 GB, free: 8.664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.256, allocations: 25.7 kB / 0.512 GB, free: 8.633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.256, allocations: 96.12 kB / 0.5121 GB, free: 8.535 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.2561, allocations: 3.906 kB / 0.5121 GB, free: 8.531 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.2561, allocations: 8 kB / 0.5121 GB, free: 8.523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2562, allocations: 322.9 kB / 0.5124 GB, free: 8.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.929e-05/0.2563, allocations: 16 kB / 0.5125 GB, free: 8.184 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.2565, allocations: 56.2 kB / 0.5125 GB, free: 8.113 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.2567, allocations: 105.1 kB / 0.5126 GB, free: 7.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2567, allocations: 0 / 0.5126 GB, free: 7.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002831/0.257, allocations: 89.52 kB / 0.5127 GB, free: 7.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.257, allocations: 11.94 kB / 0.5127 GB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.2571, allocations: 4.156 kB / 0.5127 GB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2571, allocations: 4 kB / 0.5127 GB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2572, allocations: 15.98 kB / 0.5127 GB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.2572, allocations: 0 / 0.5127 GB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.2573, allocations: 11.94 kB / 0.5127 GB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2573, allocations: 4 kB / 0.5128 GB, free: 7.848 MB / 362.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 () * Number of clocked states: 2 (firstOrder.y,$DER.firstOrder.y) * 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 0.0001723/0.2575, allocations: 133.5 kB / 0.5129 GB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.2577, allocations: 57.86 kB / 0.5129 GB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.2578, allocations: 20.28 kB / 0.513 GB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2578, allocations: 0 / 0.513 GB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2578, allocations: 4 kB / 0.513 GB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.2578, allocations: 3.984 kB / 0.513 GB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.2581, allocations: 181.5 kB / 0.5131 GB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2581, allocations: 0 / 0.5131 GB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.2583, allocations: 19.97 kB / 0.5132 GB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2583, allocations: 4 kB / 0.5132 GB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2583, allocations: 0 / 0.5132 GB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2583, allocations: 0 / 0.5132 GB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2583, allocations: 4 kB / 0.5132 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.2587, allocations: 201.8 kB / 0.5134 GB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.2588, allocations: 93 kB / 0.5134 GB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.2588, allocations: 4 kB / 0.5134 GB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.259, allocations: 11.98 kB / 0.5135 GB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.259, allocations: 0 / 0.5135 GB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.259, allocations: 0 / 0.5135 GB, free: 7.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.2592, allocations: 112.6 kB / 0.5136 GB, free: 6.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2592, allocations: 0 / 0.5136 GB, free: 6.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.2595, allocations: 12 kB / 0.5136 GB, free: 6.895 MB / 362.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 () * Number of clocked states: 2 ($DER.firstOrder.y,firstOrder.y) * 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.0008269/0.2603, allocations: 0.8228 MB / 0.5144 GB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.2606, allocations: 52.22 kB / 0.5144 GB, free: 5.984 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2607, allocations: 0 / 0.5144 GB, free: 5.984 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.132e-05/0.2607, allocations: 8 kB / 0.5144 GB, free: 5.977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.2611, allocations: 44.64 kB / 0.5145 GB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.2627, allocations: 1.185 MB / 0.5156 GB, free: 4.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.2631, allocations: 0.7082 MB / 0.5163 GB, free: 3.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.44e-05/0.2632, allocations: 15.77 kB / 0.5163 GB, free: 3.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.2632, allocations: 12.69 kB / 0.5164 GB, free: 3.918 MB / 362.7 MB Notification: Performance of SimCode: time 1.733e-06/0.2633, allocations: 4 kB / 0.5164 GB, free: 3.914 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.2839, allocations: 1.709 MB / 0.518 GB, free: 2.215 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/0.2843, allocations: 213.3 kB / 0.5182 GB, free: 1.969 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/2.599, allocations: 0 / 0.5182 GB, free: 1.969 MB / 362.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)