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.0008712/0.0008712, allocations: 176.7 kB / 16.12 MB, free: 5.691 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.359/1.359, allocations: 205 MB / 221.9 MB, free: 9.16 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.0007504/0.0007505, allocations: 96.33 kB / 269.9 MB, free: 8.68 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.08776/0.08776, allocations: 12.58 MB / 330.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.0004221, allocations: 8 kB / 391.1 MB, free: 66.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09946/0.0999, allocations: 49.99 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.001693/0.1017, allocations: 1.339 MB / 442.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007276/0.1024, allocations: 0.5269 MB / 443 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.1025, allocations: 4 kB / 443 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.569e-05/0.1026, allocations: 7.875 kB / 443 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.1027, allocations: 15.92 kB / 443 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.103, allocations: 43.89 kB / 443.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.562e-05/0.1031, allocations: 51.84 kB / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1032, allocations: 8.281 kB / 443.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.959e-05/0.1033, allocations: 31.8 kB / 443.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.1033, allocations: 23.84 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1034, allocations: 4 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.1034, allocations: 0 / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.1034, allocations: 11.98 kB / 443.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.1035, allocations: 31.75 kB / 443.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.847e-05/0.1036, allocations: 55.72 kB / 443.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1036, allocations: 0 / 443.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1036, allocations: 0 / 443.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1036, allocations: 4 kB / 443.3 MB, free: 14.13 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.00042/0.104, allocations: 367.2 kB / 443.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1041, allocations: 12.03 kB / 443.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.1041, allocations: 42.73 kB / 443.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.1042, allocations: 12.75 kB / 443.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.1043, allocations: 200.6 kB / 443.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.1043, allocations: 384 / 443.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.1044, allocations: 11.88 kB / 443.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.1046, allocations: 125 kB / 444 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1046, allocations: 0 / 444 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.1046, allocations: 4 kB / 444.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.1047, allocations: 0 / 444.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.1047, allocations: 27.92 kB / 444.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.105, allocations: 273.7 kB / 444.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.1053, allocations: 81.12 kB / 444.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.1054, allocations: 29.77 kB / 444.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.1054, allocations: 4 kB / 444.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.1055, allocations: 38.56 kB / 444.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/0.1055, allocations: 0 / 444.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002427/0.1057, allocations: 93.48 kB / 444.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.1058, allocations: 93.17 kB / 444.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.1059, allocations: 146.4 kB / 444.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.1059, allocations: 25.7 kB / 444.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.106, allocations: 92.14 kB / 444.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.106, allocations: 3.906 kB / 444.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.106, allocations: 17.7 kB / 445 MB, free: 12.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.551e-05/0.1061, allocations: 314.8 kB / 445.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.1061, allocations: 31.86 kB / 445.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.815e-05/0.1062, allocations: 48.28 kB / 445.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1063, allocations: 153.3 kB / 445.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1063, allocations: 0 / 445.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001356/0.1065, allocations: 89.61 kB / 445.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1065, allocations: 12 kB / 445.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1065, allocations: 0 / 445.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1065, allocations: 3.984 kB / 445.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.1066, allocations: 12 kB / 445.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.1066, allocations: 4 kB / 445.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.1067, allocations: 11.94 kB / 445.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1067, allocations: 7.984 kB / 445.6 MB, free: 11.47 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.1068, allocations: 121.8 kB / 445.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.1069, allocations: 57.59 kB / 445.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.1069, allocations: 16.23 kB / 445.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1069, allocations: 0 / 445.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1069, allocations: 4 kB / 445.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1069, allocations: 3.938 kB / 445.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.1071, allocations: 177.5 kB / 446 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1071, allocations: 0 / 446 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-05/0.1072, allocations: 15.98 kB / 446 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1072, allocations: 4 kB / 446 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.1072, allocations: 7.938 kB / 446 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1072, allocations: 160 / 446 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1072, allocations: 0 / 446 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.1074, allocations: 188.2 kB / 446.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.1074, allocations: 105 kB / 446.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.1075, allocations: 8 kB / 446.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.1075, allocations: 4 kB / 446.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.1076, allocations: 3.938 kB / 446.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1076, allocations: 0 / 446.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.65e-05/0.1076, allocations: 112 kB / 446.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1077, allocations: 0 / 446.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002172/0.1079, allocations: 12 kB / 446.5 MB, free: 10.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004336/0.1083, allocations: 0.7444 MB / 447.2 MB, free: 9.773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.1085, allocations: 56.22 kB / 447.3 MB, free: 9.719 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1085, allocations: 3.938 kB / 447.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.552e-05/0.1085, allocations: 7.984 kB / 447.3 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.1089, allocations: 40.52 kB / 447.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.11, allocations: 1.492 MB / 448.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.1101, allocations: 0.6965 MB / 449.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.477e-05/0.1101, allocations: 11.77 kB / 449.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.1102, allocations: 23.42 kB / 449.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1102, allocations: 0 / 449.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/0.1219, allocations: 1.737 MB / 451.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.1221, allocations: 230.8 kB / 451.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/1.74, allocations: 4 kB / 451.5 MB, free: 5.309 MB / 298.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)