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.0008462/0.0008463, allocations: 171.7 kB / 15.81 MB, free: 6.285 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.514/1.514, allocations: 205.4 MB / 222 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.0007942/0.000794, allocations: 82.3 kB / 270.3 MB, free: 13.29 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.08339/0.08339, allocations: 12.59 MB / 331.2 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.000449, allocations: 15.7 kB / 392.1 MB, free: 54.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1116, allocations: 50.38 MB / 442.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.001604/0.1133, allocations: 1.318 MB / 443.8 MB, free: 9.496 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007169/0.114, allocations: 0.5078 MB / 444.3 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.13e-05/0.1141, allocations: 0 / 444.3 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.1141, allocations: 7.922 kB / 444.3 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.1143, allocations: 7.938 kB / 444.3 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1146, allocations: 47.88 kB / 444.4 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.1147, allocations: 51.78 kB / 444.4 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.1148, allocations: 12 kB / 444.4 MB, free: 8.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.195e-05/0.1148, allocations: 15.92 kB / 444.5 MB, free: 8.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.1149, allocations: 27.86 kB / 444.5 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.1149, allocations: 0 / 444.5 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.115, allocations: 4 kB / 444.5 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.115, allocations: 19.91 kB / 444.5 MB, free: 8.789 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.115, allocations: 37.64 kB / 444.5 MB, free: 8.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.066e-05/0.1151, allocations: 36.78 kB / 444.6 MB, free: 8.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1151, allocations: 0 / 444.6 MB, free: 8.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1151, allocations: 0 / 444.6 MB, free: 8.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1151, allocations: 0 / 444.6 MB, free: 8.711 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.0004213/0.1156, allocations: 382.9 kB / 445 MB, free: 8.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1156, allocations: 8.031 kB / 445 MB, free: 8.281 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.898e-05/0.1156, allocations: 34.55 kB / 445 MB, free: 8.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.1157, allocations: 15.91 kB / 445 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.1158, allocations: 195.1 kB / 445.2 MB, free: 7.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1159, allocations: 11.94 kB / 445.2 MB, free: 7.984 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.1159, allocations: 3.906 kB / 445.2 MB, free: 7.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.1162, allocations: 121 kB / 445.3 MB, free: 7.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1162, allocations: 0 / 445.3 MB, free: 7.844 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1162, allocations: 0 / 445.3 MB, free: 7.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1162, allocations: 0 / 445.3 MB, free: 7.844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.1163, allocations: 23.98 kB / 445.4 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.1166, allocations: 281.7 kB / 445.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.1169, allocations: 81.19 kB / 445.7 MB, free: 7.395 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.117, allocations: 33.77 kB / 445.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.117, allocations: 3.938 kB / 445.8 MB, free: 7.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.117, allocations: 34.56 kB / 445.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.117, allocations: 0 / 445.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002498/0.1173, allocations: 97.64 kB / 445.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.1173, allocations: 85.14 kB / 446 MB, free: 7.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.249e-05/0.1174, allocations: 147 kB / 446.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.1174, allocations: 25.7 kB / 446.1 MB, free: 6.918 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.1175, allocations: 84.14 kB / 446.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.1175, allocations: 15.84 kB / 446.2 MB, free: 6.816 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.1175, allocations: 0 / 446.2 MB, free: 6.816 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.296e-05/0.1176, allocations: 330.9 kB / 446.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.895e-05/0.1176, allocations: 15.98 kB / 446.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.1177, allocations: 44.28 kB / 446.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1178, allocations: 117 kB / 446.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1178, allocations: 3.938 kB / 446.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001631/0.118, allocations: 89.52 kB / 446.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.118, allocations: 4 kB / 446.8 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.118, allocations: 8.312 kB / 446.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.118, allocations: 0 / 446.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.1181, allocations: 15.94 kB / 446.8 MB, free: 6.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1181, allocations: 3.984 kB / 446.8 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.1182, allocations: 7.984 kB / 446.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.1182, allocations: 4 kB / 446.9 MB, free: 6.137 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.0001269/0.1183, allocations: 125.6 kB / 447 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.04e-05/0.1184, allocations: 61.53 kB / 447 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.1184, allocations: 20.23 kB / 447.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1185, allocations: 0 / 447.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1185, allocations: 3.938 kB / 447.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1185, allocations: 0 / 447.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.1186, allocations: 185.5 kB / 447.2 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1186, allocations: 0 / 447.2 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.874e-05/0.1187, allocations: 19.98 kB / 447.3 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1187, allocations: 0 / 447.3 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-06/0.1187, allocations: 8 kB / 447.3 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1187, allocations: 0 / 447.3 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1187, allocations: 4 kB / 447.3 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.1189, allocations: 192.2 kB / 447.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.119, allocations: 93 kB / 447.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.119, allocations: 0 / 447.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.1191, allocations: 4 kB / 447.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.1191, allocations: 4 kB / 447.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1191, allocations: 7.984 kB / 447.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.511e-05/0.1192, allocations: 112.6 kB / 447.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1192, allocations: 0 / 447.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002038/0.1194, allocations: 8 kB / 447.7 MB, free: 5.203 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.0003959/0.1198, allocations: 0.7482 MB / 448.4 MB, free: 4.426 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.12, allocations: 47.92 kB / 448.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.12, allocations: 4.375 kB / 448.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.574e-05/0.12, allocations: 11.98 kB / 448.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1203, allocations: 32.58 kB / 448.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007212/0.1211, allocations: 0.6003 MB / 449.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.1212, allocations: 0.6966 MB / 449.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.107e-05/0.1212, allocations: 8.094 kB / 449.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.1213, allocations: 19.44 kB / 449.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1213, allocations: 0 / 449.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.1339, allocations: 1.718 MB / 451.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.1341, allocations: 226.2 kB / 451.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/1.691, allocations: 0 / 451.8 MB, free: 0.9609 MB / 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)