Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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/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_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestExactClockWithIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,fileNamePrefix="Modelica_Synchronous_cpp_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.0009591/0.0009627, allocations: 177.8 kB / 16.77 MB, free: 4.926 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.132/1.132, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0006841/0.0006841, allocations: 86.36 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0583/0.0583, allocations: 12.2 MB / 331.8 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003659, allocations: 16 kB / 392.2 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06034/0.06072, allocations: 50.29 MB / 442.5 MB, free: 16.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.001206/0.06196, allocations: 1.305 MB / 443.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005553/0.06253, allocations: 0.5234 MB / 444.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.06261, allocations: 4 kB / 444.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.06264, allocations: 3.938 kB / 444.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.06275, allocations: 15.86 kB / 444.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.06294, allocations: 47.88 kB / 444.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.363e-05/0.06303, allocations: 51.8 kB / 444.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.826e-05/0.0631, allocations: 11.98 kB / 444.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.297e-05/0.06318, allocations: 31.84 kB / 444.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.408e-05/0.06324, allocations: 27.86 kB / 444.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.06326, allocations: 4 kB / 444.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.06327, allocations: 0 / 444.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.06331, allocations: 7.984 kB / 444.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.06334, allocations: 53.52 kB / 444.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.552e-05/0.0634, allocations: 44.14 kB / 444.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.06341, allocations: 0 / 444.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.06341, allocations: 0 / 444.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.06342, allocations: 0 / 444.6 MB, free: 14.4 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003088/0.06373, allocations: 379.2 kB / 445 MB, free: 13.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.06377, allocations: 8.031 kB / 445 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.266e-05/0.0638, allocations: 34.75 kB / 445 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.06383, allocations: 12.84 kB / 445.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.06397, allocations: 196.7 kB / 445.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-06/0.06399, allocations: 4.375 kB / 445.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.06401, allocations: 3.938 kB / 445.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.06424, allocations: 136.8 kB / 445.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.06425, allocations: 0 / 445.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.06427, allocations: 4 kB / 445.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.06428, allocations: 3.938 kB / 445.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.06435, allocations: 23.98 kB / 445.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/0.06458, allocations: 277.7 kB / 445.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.06484, allocations: 77.19 kB / 445.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.0649, allocations: 37.7 kB / 445.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.06492, allocations: 0 / 445.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.096e-05/0.06494, allocations: 38.56 kB / 445.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.06495, allocations: 3.984 kB / 445.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002087/0.06516, allocations: 93.5 kB / 445.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.06521, allocations: 85.11 kB / 446 MB, free: 12.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.202e-05/0.06528, allocations: 150.3 kB / 446.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.0653, allocations: 25.7 kB / 446.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.2e-05/0.06533, allocations: 88.14 kB / 446.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.06534, allocations: 15.83 kB / 446.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.06535, allocations: 0 / 446.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.356e-05/0.06539, allocations: 319 kB / 446.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.06544, allocations: 19.98 kB / 446.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.534e-05/0.06549, allocations: 44.28 kB / 446.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.06563, allocations: 157.3 kB / 446.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.06564, allocations: 0 / 446.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001332/0.06578, allocations: 93.52 kB / 446.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.0658, allocations: 8.625 kB / 446.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.06581, allocations: 4 kB / 446.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.06582, allocations: 0 / 446.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/0.06588, allocations: 23.92 kB / 446.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.06589, allocations: 0 / 446.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.06594, allocations: 7.938 kB / 447 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.06595, allocations: 4.156 kB / 447 MB, free: 11.76 MB / 298.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 9.282e-05/0.06605, allocations: 130.5 kB / 447.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/0.06614, allocations: 57.53 kB / 447.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.06617, allocations: 12.25 kB / 447.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.06618, allocations: 3.984 kB / 447.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.06619, allocations: 4 kB / 447.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.0662, allocations: 3.938 kB / 447.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.06631, allocations: 181.5 kB / 447.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.06632, allocations: 0 / 447.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.794e-05/0.06642, allocations: 23.92 kB / 447.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.06643, allocations: 4 kB / 447.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.06644, allocations: 0 / 447.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.06645, allocations: 3.938 kB / 447.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.06645, allocations: 0 / 447.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.0666, allocations: 188.2 kB / 447.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.06664, allocations: 97 kB / 447.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.06667, allocations: 3.984 kB / 447.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.06675, allocations: 8 kB / 447.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.06678, allocations: 3.938 kB / 447.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.06679, allocations: 0 / 447.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.754e-05/0.06684, allocations: 111.2 kB / 447.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.06685, allocations: 0 / 447.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.06705, allocations: 15.94 kB / 447.8 MB, free: 10.82 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: 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.0003316/0.06739, allocations: 0.7367 MB / 448.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.06754, allocations: 52.03 kB / 448.6 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.06755, allocations: 3.938 kB / 448.6 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.659e-05/0.06759, allocations: 15.98 kB / 448.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.06791, allocations: 32.47 kB / 448.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/0.06856, allocations: 0.6213 MB / 449.2 MB, free: 9.262 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.216e-05/0.06866, allocations: 0.6965 MB / 449.9 MB, free: 8.539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.06871, allocations: 23.48 kB / 450 MB, free: 8.516 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.06871, allocations: 3.938 kB / 450 MB, free: 8.512 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.326/2.395, allocations: 1.216 MB / 451.2 MB, free: 7.297 MB / 298.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestExactClockWithIntegrator_fmu --startTime=0 --stopTime=0.0001 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestExactClockWithIntegrator.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe 2>&1)