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.001459/0.001463, allocations: 177.2 kB / 8.048 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.211/2.211, allocations: 205.3 MB / 213.8 MB, free: 13.76 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.001099/0.001099, allocations: 95.56 kB / 261.8 MB, free: 13.43 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.1068/0.1068, allocations: 12.58 MB / 322.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.803e-05/1.797e-05, allocations: 0 / 379 MB, free: 75.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.0997, allocations: 50.38 MB / 429.4 MB, free: 24.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4446/0.5444, allocations: 77.75 MB / 0.4953 GB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.5446, allocations: 60.86 kB / 0.4953 GB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006957/0.5516, allocations: 1.768 MB / 0.4971 GB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.368e-06/0.5517, allocations: 0 / 0.4971 GB, free: 11.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.5517, allocations: 7.688 kB / 0.4971 GB, free: 11.59 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.0004132/0.5521, allocations: 367.7 kB / 0.4974 GB, free: 11.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.5522, allocations: 13.91 kB / 0.4974 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.5522, allocations: 10.28 kB / 0.4974 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.5525, allocations: 196.1 kB / 0.4976 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.5525, allocations: 3.953 kB / 0.4976 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.5525, allocations: 3.844 kB / 0.4976 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001006/0.5526, allocations: 14.94 kB / 0.4976 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.5529, allocations: 109.1 kB / 0.4977 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5529, allocations: 0 / 0.4977 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.5529, allocations: 0 / 0.4977 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5529, allocations: 0 / 0.4977 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.5534, allocations: 262.2 kB / 0.498 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.5538, allocations: 68.02 kB / 0.4981 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.5539, allocations: 22.34 kB / 0.4981 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.5539, allocations: 3.906 kB / 0.4981 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.5539, allocations: 37.7 kB / 0.4981 GB, free: 10.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.5539, allocations: 1.031 kB / 0.4981 GB, free: 10.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002062/0.5541, allocations: 62.33 kB / 0.4982 GB, free: 10.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.5542, allocations: 84.2 kB / 0.4983 GB, free: 10.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.5543, allocations: 131 kB / 0.4984 GB, free: 10.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.5544, allocations: 25.7 kB / 0.4984 GB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.5544, allocations: 91.7 kB / 0.4985 GB, free: 10.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.5544, allocations: 9.047 kB / 0.4985 GB, free: 10.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.5545, allocations: 0 / 0.4985 GB, free: 10.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.5545, allocations: 320.6 kB / 0.4988 GB, free: 9.902 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.5546, allocations: 7.469 kB / 0.4988 GB, free: 9.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-05/0.5546, allocations: 42.64 kB / 0.4989 GB, free: 9.859 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.5548, allocations: 108.5 kB / 0.499 GB, free: 9.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5548, allocations: 0 / 0.499 GB, free: 9.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000141/0.5549, allocations: 75.81 kB / 0.499 GB, free: 9.715 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.555, allocations: 3.906 kB / 0.499 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.555, allocations: 0 / 0.499 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.555, allocations: 3.906 kB / 0.499 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.5551, allocations: 18.44 kB / 0.4991 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.5552, allocations: 7.906 kB / 0.4991 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.5552, allocations: 11.75 kB / 0.4991 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.5553, allocations: 3.938 kB / 0.4991 GB, free: 9.699 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.596e-05/0.5554, allocations: 111.2 kB / 0.4992 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001417/0.5555, allocations: 70.03 kB / 0.4993 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.5556, allocations: 11.05 kB / 0.4993 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.5556, allocations: 11.56 kB / 0.4993 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5556, allocations: 3.906 kB / 0.4993 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5557, allocations: 4.031 kB / 0.4993 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5557, allocations: 0 / 0.4993 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.5558, allocations: 161.1 kB / 0.4994 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5559, allocations: 0 / 0.4994 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.556, allocations: 15.05 kB / 0.4995 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.556, allocations: 3.688 kB / 0.4995 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.5561, allocations: 0 / 0.4995 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5561, allocations: 0 / 0.4995 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5561, allocations: 3.234 kB / 0.4995 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.5563, allocations: 182.5 kB / 0.4996 GB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.5563, allocations: 94.94 kB / 0.4997 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.5564, allocations: 3.938 kB / 0.4997 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.5565, allocations: 0 / 0.4997 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.5565, allocations: 3.906 kB / 0.4997 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.5566, allocations: 3.375 kB / 0.4997 GB, free: 9.109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.41e-05/0.5566, allocations: 113 kB / 0.4998 GB, free: 9.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5567, allocations: 0 / 0.4998 GB, free: 9.031 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003256/0.557, allocations: 7.812 kB / 0.4999 GB, free: 9.031 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.000406/0.5574, allocations: 0.8013 MB / 0.5006 GB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.5576, allocations: 31.69 kB / 0.5007 GB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5576, allocations: 0 / 0.5007 GB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.694e-05/0.5577, allocations: 7.625 kB / 0.5007 GB, free: 8.266 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.558, allocations: 24.05 kB / 0.5007 GB, free: 8.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.5586, allocations: 165.9 kB / 0.5009 GB, free: 8.121 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.5588, allocations: 0.7036 MB / 0.5015 GB, free: 7.422 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.831e-05/0.5588, allocations: 7.156 kB / 0.5015 GB, free: 7.418 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.5589, allocations: 22.3 kB / 0.5016 GB, free: 7.414 MB / 330.7 MB Notification: Performance of SimCode: time 6.92e-07/0.5589, allocations: 0 / 0.5016 GB, free: 7.414 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0379/0.5968, allocations: 1.358 MB / 0.5029 GB, free: 7.316 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/0.5971, allocations: 168.8 kB / 0.5031 GB, free: 7.125 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.079, allocations: 4 kB / 0.5031 GB, free: 7.121 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)