Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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/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_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator,fileNamePrefix="Modelica_Synchronous_cpp_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.000955/0.000955, allocations: 179.4 kB / 16.77 MB, free: 4.898 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.162/1.162, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006769/0.000677, allocations: 101 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05668/0.05668, allocations: 12.19 MB / 331.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004024, allocations: 15.98 kB / 392.2 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0643/0.06471, allocations: 50.28 MB / 442.5 MB, free: 16.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator): time 0.001412/0.06616, allocations: 1.34 MB / 443.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005799/0.06676, allocations: 488.1 kB / 444.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.06684, allocations: 7.938 kB / 444.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.06687, allocations: 3.984 kB / 444.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.55e-05/0.06696, allocations: 11.86 kB / 444.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.06719, allocations: 35.89 kB / 444.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.166e-05/0.06729, allocations: 71.72 kB / 444.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.501e-05/0.06738, allocations: 16 kB / 444.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/0.06746, allocations: 27.84 kB / 444.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.06753, allocations: 35.78 kB / 444.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.06755, allocations: 0 / 444.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.06757, allocations: 4 kB / 444.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.06759, allocations: 7.984 kB / 444.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.06764, allocations: 49.52 kB / 444.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.668e-05/0.06771, allocations: 52.12 kB / 444.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.06772, allocations: 0 / 444.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.06773, allocations: 4 kB / 444.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.06773, allocations: 0 / 444.6 MB, free: 14.4 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.0004452/0.06818, allocations: 379.2 kB / 445 MB, free: 13.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.06823, allocations: 12.03 kB / 445 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.06826, allocations: 38.73 kB / 445.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.06829, allocations: 12.84 kB / 445.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.06842, allocations: 188.2 kB / 445.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.06843, allocations: 4.375 kB / 445.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.06845, allocations: 4.375 kB / 445.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.06867, allocations: 126 kB / 445.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.06869, allocations: 8 kB / 445.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.0687, allocations: 3.938 kB / 445.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.06871, allocations: 0 / 445.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.06882, allocations: 43.91 kB / 445.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.06912, allocations: 377.8 kB / 445.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.0694, allocations: 107.8 kB / 445.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.06947, allocations: 46.62 kB / 446 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.06949, allocations: 3.984 kB / 446 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.06963, allocations: 89.02 kB / 446 MB, free: 12.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.06965, allocations: 0 / 446 MB, free: 12.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002564/0.06991, allocations: 117.5 kB / 446.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.06996, allocations: 114.7 kB / 446.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.07003, allocations: 126.8 kB / 446.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.07005, allocations: 29.83 kB / 446.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.421e-05/0.07008, allocations: 92.14 kB / 446.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.0701, allocations: 19.8 kB / 446.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.07011, allocations: 0 / 446.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.07015, allocations: 322.8 kB / 446.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.07022, allocations: 27.98 kB / 446.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.07028, allocations: 77.88 kB / 447 MB, free: 11.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.07045, allocations: 183.4 kB / 447.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.07046, allocations: 0 / 447.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001706/0.07064, allocations: 121.5 kB / 447.2 MB, free: 11.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.07066, allocations: 8.031 kB / 447.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.07067, allocations: 0 / 447.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.07069, allocations: 7.984 kB / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.07076, allocations: 16 kB / 447.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.07077, allocations: 0 / 447.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.07086, allocations: 23.83 kB / 447.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.07087, allocations: 4 kB / 447.3 MB, free: 11.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.595e-05/0.07095, allocations: 137.5 kB / 447.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.07102, allocations: 53.69 kB / 447.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.07106, allocations: 11.91 kB / 447.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.07106, allocations: 0 / 447.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.07107, allocations: 7.938 kB / 447.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.07108, allocations: 0 / 447.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.07133, allocations: 346.3 kB / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.07135, allocations: 0 / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.07145, allocations: 19.98 kB / 447.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.07146, allocations: 0 / 447.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.07148, allocations: 4 kB / 447.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.07149, allocations: 11.92 kB / 447.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.07149, allocations: 3.938 kB / 447.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.07168, allocations: 201.2 kB / 448.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.07171, allocations: 92.94 kB / 448.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.07173, allocations: 4 kB / 448.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.07185, allocations: 19.92 kB / 448.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.07189, allocations: 4 kB / 448.2 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.0719, allocations: 11.98 kB / 448.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.048e-05/0.07194, allocations: 103.8 kB / 448.3 MB, free: 10.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07195, allocations: 0 / 448.3 MB, free: 10.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.07221, allocations: 19.94 kB / 448.3 MB, free: 10.22 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 (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.0003909/0.0726, allocations: 0.7768 MB / 449.1 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.07278, allocations: 71.84 kB / 449.2 MB, free: 9.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.07279, allocations: 4.438 kB / 449.2 MB, free: 9.336 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.07286, allocations: 32.06 kB / 449.2 MB, free: 9.305 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.0732, allocations: 39.89 kB / 449.3 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/0.07393, allocations: 0.6909 MB / 450 MB, free: 8.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.593e-05/0.07403, allocations: 0.7004 MB / 450.7 MB, free: 7.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.07408, allocations: 23.44 kB / 450.7 MB, free: 7.75 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.07409, allocations: 0 / 450.7 MB, free: 7.75 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.263/2.338, allocations: 1.454 MB / 452.1 MB, free: 6.297 MB / 298.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe 2>&1)