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.001048/0.001048, allocations: 172.9 kB / 16.15 MB, free: 5.652 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.418/1.418, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0009678/0.0009681, allocations: 97.16 kB / 270.7 MB, free: 8.242 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.08577/0.08577, allocations: 12.59 MB / 331.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 8 kB / 392.8 MB, free: 65.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08556/0.08593, allocations: 50.37 MB / 443.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator): time 0.001835/0.08781, allocations: 1.363 MB / 444.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.08856, allocations: 0.4958 MB / 445 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.599e-05/0.08867, allocations: 0 / 445 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.08872, allocations: 7.938 kB / 445 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.73e-05/0.08882, allocations: 7.938 kB / 445 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.08913, allocations: 47.89 kB / 445.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.08929, allocations: 67.72 kB / 445.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.08941, allocations: 20.25 kB / 445.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.629e-05/0.08951, allocations: 27.92 kB / 445.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.08959, allocations: 27.86 kB / 445.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.08962, allocations: 4 kB / 445.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.08964, allocations: 0 / 445.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.08968, allocations: 19.84 kB / 445.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.08974, allocations: 57.5 kB / 445.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.777e-05/0.08984, allocations: 51.73 kB / 445.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.08985, allocations: 0 / 445.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.08986, allocations: 4 kB / 445.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.08987, allocations: 0 / 445.3 MB, free: 13.12 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.0005418/0.09042, allocations: 395.2 kB / 445.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.09047, allocations: 8.031 kB / 445.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.09051, allocations: 34.73 kB / 445.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.09056, allocations: 8.844 kB / 445.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.09074, allocations: 192.2 kB / 446 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.09076, allocations: 4.375 kB / 446 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.09079, allocations: 12.31 kB / 446 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.09107, allocations: 130 kB / 446.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.0911, allocations: 0 / 446.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.09111, allocations: 0 / 446.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.09112, allocations: 0 / 446.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.09124, allocations: 47.91 kB / 446.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.09162, allocations: 365.8 kB / 446.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.09195, allocations: 115.8 kB / 446.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.686e-05/0.09202, allocations: 34.62 kB / 446.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.09206, allocations: 12 kB / 446.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.09223, allocations: 88.89 kB / 446.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.09224, allocations: 0 / 446.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002871/0.09253, allocations: 125.5 kB / 446.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.0926, allocations: 114.8 kB / 447 MB, free: 11.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.09268, allocations: 129.8 kB / 447.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.0927, allocations: 25.7 kB / 447.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.09273, allocations: 92.14 kB / 447.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.09276, allocations: 23.78 kB / 447.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.09277, allocations: 4.125 kB / 447.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.09282, allocations: 322.8 kB / 447.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/0.09289, allocations: 27.98 kB / 447.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.09297, allocations: 66 kB / 447.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.09316, allocations: 187 kB / 447.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.09317, allocations: 0 / 447.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001972/0.09338, allocations: 118 kB / 448 MB, free: 10.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.0934, allocations: 11.98 kB / 448 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.09341, allocations: 0 / 448 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.09343, allocations: 4.188 kB / 448 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.09351, allocations: 19.94 kB / 448 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.09352, allocations: 4 kB / 448 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.664e-05/0.09362, allocations: 19.83 kB / 448 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.09363, allocations: 4 kB / 448 MB, free: 10.08 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * 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 0.0001004/0.09374, allocations: 142.7 kB / 448.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.09382, allocations: 57.59 kB / 448.2 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.09386, allocations: 19.84 kB / 448.2 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.09387, allocations: 0 / 448.2 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.09388, allocations: 0 / 448.2 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.09388, allocations: 4 kB / 448.2 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.09417, allocations: 342.4 kB / 448.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.09418, allocations: 0 / 448.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.09429, allocations: 19.98 kB / 448.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.09431, allocations: 4 kB / 448.6 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.09432, allocations: 7.984 kB / 448.6 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.09433, allocations: 11.88 kB / 448.6 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.09434, allocations: 0 / 448.6 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.09454, allocations: 209.1 kB / 448.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.09458, allocations: 88.95 kB / 448.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.0946, allocations: 8 kB / 448.9 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.09472, allocations: 15.92 kB / 448.9 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.09477, allocations: 0 / 448.9 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.09478, allocations: 7.984 kB / 448.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.808e-05/0.09483, allocations: 99.27 kB / 449 MB, free: 8.945 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09483, allocations: 0 / 449 MB, free: 8.945 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.09506, allocations: 24 kB / 449.1 MB, free: 8.922 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.0004552/0.09553, allocations: 0.7765 MB / 449.8 MB, free: 8.113 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.09572, allocations: 67.91 kB / 449.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.09574, allocations: 192 / 449.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.09581, allocations: 27.92 kB / 449.9 MB, free: 8.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.09617, allocations: 52.38 kB / 450 MB, free: 7.969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.09735, allocations: 1.617 MB / 451.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.09748, allocations: 0.7004 MB / 452.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.916e-05/0.09752, allocations: 8.422 kB / 452.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.09758, allocations: 27.42 kB / 452.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.09759, allocations: 0 / 452.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01191/0.1095, allocations: 2.085 MB / 454.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/0.1097, allocations: 238.6 kB / 454.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.773, allocations: 7.906 kB / 454.7 MB, free: 3.105 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)