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.001639/0.001644, allocations: 186.8 kB / 15.81 MB, free: 6.352 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.281/2.281, 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.001186/0.001186, allocations: 94.86 kB / 270.3 MB, free: 13.36 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.1004/0.1004, allocations: 12.6 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006065/0.0006067, allocations: 17.53 kB / 392.1 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1082, allocations: 50.37 MB / 442.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.002049/0.1103, allocations: 1.307 MB / 443.8 MB, free: 9.539 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009835/0.1113, allocations: 0.5008 MB / 444.3 MB, free: 9.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.25e-05/0.1114, allocations: 0 / 444.3 MB, free: 9.031 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.1115, allocations: 7.875 kB / 444.3 MB, free: 9.023 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.1116, allocations: 19.97 kB / 444.3 MB, free: 9.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.112, allocations: 35.91 kB / 444.3 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.1121, allocations: 43.88 kB / 444.4 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.1122, allocations: 8 kB / 444.4 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.1123, allocations: 27.84 kB / 444.4 MB, free: 8.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.555e-05/0.1124, allocations: 19.92 kB / 444.4 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1124, allocations: 4 kB / 444.4 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.1124, allocations: 4 kB / 444.5 MB, free: 8.863 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.1125, allocations: 11.92 kB / 444.5 MB, free: 8.852 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.1125, allocations: 37.64 kB / 444.5 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.012e-05/0.1126, allocations: 40.77 kB / 444.5 MB, free: 8.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1126, allocations: 0 / 444.5 MB, free: 8.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1126, allocations: 0 / 444.5 MB, free: 8.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1126, allocations: 0 / 444.5 MB, free: 8.77 MB / 282.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.0005011/0.1131, allocations: 375 kB / 444.9 MB, free: 8.355 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1132, allocations: 12.03 kB / 444.9 MB, free: 8.344 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.1132, allocations: 38.56 kB / 445 MB, free: 8.297 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.1133, allocations: 11.89 kB / 445 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.1135, allocations: 207.1 kB / 445.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1135, allocations: 0 / 445.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1136, allocations: 11.91 kB / 445.2 MB, free: 8.035 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.1139, allocations: 113 kB / 445.3 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1139, allocations: 0 / 445.3 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1139, allocations: 0 / 445.3 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1139, allocations: 0 / 445.3 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.1141, allocations: 27.92 kB / 445.3 MB, free: 7.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.1145, allocations: 273.8 kB / 445.6 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.1149, allocations: 85.06 kB / 445.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1149, allocations: 4.062 kB / 445.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.115, allocations: 38.56 kB / 445.7 MB, free: 7.406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.674e-06/0.115, allocations: 0 / 445.7 MB, free: 7.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003651/0.1153, allocations: 89.59 kB / 445.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.1154, allocations: 85.11 kB / 445.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.1156, allocations: 143.1 kB / 446 MB, free: 7.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.1156, allocations: 29.7 kB / 446.1 MB, free: 7.023 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.1156, allocations: 92.14 kB / 446.1 MB, free: 6.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.1157, allocations: 11.83 kB / 446.2 MB, free: 6.918 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.1157, allocations: 0 / 446.2 MB, free: 6.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.273e-05/0.1158, allocations: 322.8 kB / 446.5 MB, free: 6.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.1158, allocations: 19.92 kB / 446.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.434e-05/0.1159, allocations: 56.2 kB / 446.5 MB, free: 6.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.1161, allocations: 109.1 kB / 446.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1161, allocations: 0 / 446.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002344/0.1164, allocations: 97.45 kB / 446.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1164, allocations: 4 kB / 446.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1164, allocations: 4 kB / 446.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1165, allocations: 0 / 446.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1166, allocations: 15.98 kB / 446.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.1166, allocations: 4 kB / 446.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.1167, allocations: 8.156 kB / 446.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1167, allocations: 0 / 446.8 MB, free: 6.242 MB / 282.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.0001568/0.1169, allocations: 141.5 kB / 446.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.117, allocations: 53.59 kB / 447 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.1171, allocations: 12.25 kB / 447 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1171, allocations: 384 / 447 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1171, allocations: 0 / 447 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1171, allocations: 0 / 447 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.1173, allocations: 185.5 kB / 447.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1173, allocations: 0 / 447.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.1175, allocations: 27.97 kB / 447.2 MB, free: 5.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1176, allocations: 3.984 kB / 447.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1176, allocations: 4 kB / 447.2 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1176, allocations: 0 / 447.2 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1176, allocations: 3.938 kB / 447.2 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1179, allocations: 201.9 kB / 447.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.1179, allocations: 89 kB / 447.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.118, allocations: 8 kB / 447.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1181, allocations: 3.984 kB / 447.5 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.1182, allocations: 4 kB / 447.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1182, allocations: 0 / 447.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.459e-05/0.1183, allocations: 112.6 kB / 447.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1183, allocations: 4 kB / 447.6 MB, free: 5.297 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003294/0.1186, allocations: 12 kB / 447.6 MB, free: 5.285 MB / 282.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.0005982/0.1192, allocations: 0.8265 MB / 448.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.1195, allocations: 51.91 kB / 448.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1195, allocations: 0 / 448.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.343e-05/0.1196, allocations: 8 kB / 448.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.12, allocations: 48.89 kB / 448.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1212, allocations: 1.188 MB / 449.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.1214, allocations: 0.6965 MB / 450.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.325e-05/0.1215, allocations: 11.91 kB / 450.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.1216, allocations: 23.48 kB / 450.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1216, allocations: 0 / 450.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.1464, allocations: 1.703 MB / 452.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/0.1468, allocations: 216 kB / 452.4 MB, free: 376 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/2.673, allocations: 0 / 452.4 MB, free: 376 kB / 282.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)