Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.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.TestEventClockWithIntegrator,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator",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.0009748/0.000975, allocations: 175.8 kB / 16.11 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.352/1.352, allocations: 205 MB / 221.9 MB, free: 9.141 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.0008213/0.0008213, allocations: 92.25 kB / 269.9 MB, free: 8.672 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.08619/0.08619, allocations: 12.57 MB / 330.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003885, allocations: 12 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.09794, allocations: 49.98 MB / 441.1 MB, free: 16.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator): time 0.001669/0.09965, allocations: 1.371 MB / 442.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007182/0.1004, allocations: 0.5074 MB / 443 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1006, allocations: 0 / 443 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.139e-05/0.1007, allocations: 3.938 kB / 443 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.1008, allocations: 15.91 kB / 443 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.1011, allocations: 35.91 kB / 443.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1013, allocations: 75.72 kB / 443.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1015, allocations: 16.27 kB / 443.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1016, allocations: 31.84 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.524e-05/0.1017, allocations: 23.86 kB / 443.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.1017, allocations: 4 kB / 443.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.1018, allocations: 4 kB / 443.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.03e-05/0.1018, allocations: 15.92 kB / 443.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.1019, allocations: 27.8 kB / 443.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.102, allocations: 59.72 kB / 443.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.102, allocations: 0 / 443.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.102, allocations: 0 / 443.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.1021, allocations: 0 / 443.3 MB, free: 14.1 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006749/0.1027, allocations: 387.2 kB / 443.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.1028, allocations: 12.03 kB / 443.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.019e-05/0.1029, allocations: 38.73 kB / 443.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.1029, allocations: 8.844 kB / 443.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.1031, allocations: 184.2 kB / 443.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1031, allocations: 4.375 kB / 443.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.1032, allocations: 12.31 kB / 444 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.1035, allocations: 134 kB / 444.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1035, allocations: 0 / 444.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1035, allocations: 0 / 444.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1035, allocations: 0 / 444.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.1037, allocations: 47.91 kB / 444.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.1041, allocations: 377.8 kB / 444.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.1044, allocations: 107.8 kB / 444.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.1045, allocations: 42.62 kB / 444.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.1045, allocations: 4 kB / 444.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.1047, allocations: 88.95 kB / 444.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 2.505e-06/0.1047, allocations: 0 / 444.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003028/0.105, allocations: 133.5 kB / 444.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.1051, allocations: 106.8 kB / 445 MB, free: 12.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.873e-05/0.1052, allocations: 131.2 kB / 445.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.1052, allocations: 25.7 kB / 445.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.1053, allocations: 92.14 kB / 445.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.1053, allocations: 11.8 kB / 445.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.1053, allocations: 17.72 kB / 445.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.155e-05/0.1054, allocations: 326.8 kB / 445.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.299e-05/0.1055, allocations: 32.02 kB / 445.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.1055, allocations: 69.88 kB / 445.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.1057, allocations: 183.1 kB / 445.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1057, allocations: 0 / 445.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001797/0.1059, allocations: 129.4 kB / 446 MB, free: 11.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.106, allocations: 4 kB / 446 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.106, allocations: 4 kB / 446 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.106, allocations: 0 / 446 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.048e-05/0.1061, allocations: 19.98 kB / 446 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1061, allocations: 192 / 446 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.757e-05/0.1062, allocations: 27.83 kB / 446 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1062, allocations: 4 kB / 446 MB, free: 11.03 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: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * 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 (12): * Single equations (assignments): 12 * 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 9.833e-05/0.1063, allocations: 130.6 kB / 446.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.541e-05/0.1064, allocations: 57.59 kB / 446.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.1064, allocations: 12.5 kB / 446.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1064, allocations: 4 kB / 446.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1064, allocations: 7.938 kB / 446.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1065, allocations: 4 kB / 446.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.1068, allocations: 342.4 kB / 446.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.1068, allocations: 3.984 kB / 446.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.1069, allocations: 19.98 kB / 446.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.1069, allocations: 4 kB / 446.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1069, allocations: 4 kB / 446.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1069, allocations: 11.88 kB / 446.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1069, allocations: 0 / 446.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.1071, allocations: 209.1 kB / 446.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.1072, allocations: 88.95 kB / 446.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1072, allocations: 11.94 kB / 446.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1073, allocations: 15.92 kB / 446.9 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.1074, allocations: 7.984 kB / 446.9 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1074, allocations: 4 kB / 446.9 MB, free: 9.996 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.372e-05/0.1074, allocations: 103.8 kB / 447 MB, free: 9.895 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1074, allocations: 0 / 447 MB, free: 9.895 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.1077, allocations: 16 kB / 447.1 MB, free: 9.879 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004495/0.1081, allocations: 0.7726 MB / 447.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.1084, allocations: 83.89 kB / 447.9 MB, free: 8.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1084, allocations: 0 / 447.9 MB, free: 8.992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.253e-05/0.1084, allocations: 23.98 kB / 447.9 MB, free: 8.969 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.1088, allocations: 44.45 kB / 448 MB, free: 8.926 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1102, allocations: 1.608 MB / 449.6 MB, free: 7.195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.1103, allocations: 0.6926 MB / 450.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.74e-05/0.1104, allocations: 16.42 kB / 450.3 MB, free: 6.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.1104, allocations: 23.44 kB / 450.3 MB, free: 6.438 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1104, allocations: 0 / 450.3 MB, free: 6.438 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01194/0.1224, allocations: 2.081 MB / 452.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.1226, allocations: 230.8 kB / 452.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.776, allocations: 0 / 452.6 MB, free: 4.094 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe 2>&1)