Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009594/0.0009594, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002792, allocations: 7.984 kB / 306.7 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1355, allocations: 51.5 MB / 358.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001801/0.1374, allocations: 1.133 MB / 359.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002519/0.1376, allocations: 99.7 kB / 359.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.1377, allocations: 0 / 359.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.1377, allocations: 3.938 kB / 359.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.085e-05/0.1378, allocations: 4 kB / 359.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.138, allocations: 27.91 kB / 359.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.995e-05/0.1381, allocations: 15.98 kB / 359.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.1382, allocations: 11.92 kB / 359.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.71e-05/0.1382, allocations: 0 / 359.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.964e-05/0.1383, allocations: 15.92 kB / 359.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1383, allocations: 0 / 359.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.1383, allocations: 4 kB / 359.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.1383, allocations: 0 / 359.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.1384, allocations: 25.7 kB / 359.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.485e-05/0.1384, allocations: 35.89 kB / 359.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1384, allocations: 0 / 359.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1384, allocations: 3.938 kB / 359.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1385, allocations: 0 / 359.6 MB, free: 12.36 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004186/0.1389, allocations: 331.5 kB / 359.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1389, allocations: 8.031 kB / 359.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.139, allocations: 34.56 kB / 359.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.139, allocations: 0 / 359.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.1392, allocations: 175 kB / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.1392, allocations: 8 kB / 360.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1392, allocations: 3.953 kB / 360.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.1395, allocations: 103.3 kB / 360.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1395, allocations: 0 / 360.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1395, allocations: 0 / 360.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1395, allocations: 0 / 360.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.546e-05/0.1396, allocations: 19.92 kB / 360.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.1398, allocations: 153.7 kB / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.1399, allocations: 54.58 kB / 360.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1399, allocations: 0 / 360.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.14, allocations: 42.52 kB / 360.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.265e-06/0.14, allocations: 0 / 360.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001985/0.1402, allocations: 69.69 kB / 360.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.1402, allocations: 55.41 kB / 360.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.1403, allocations: 109.8 kB / 360.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1404, allocations: 25.7 kB / 360.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.1404, allocations: 80.14 kB / 360.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.1404, allocations: 8 kB / 360.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.1404, allocations: 0 / 360.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1406, allocations: 318.8 kB / 361.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-06/0.1406, allocations: 0 / 361.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.1406, allocations: 27.44 kB / 361.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.1407, allocations: 15.92 kB / 361.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1407, allocations: 0 / 361.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.948e-05/0.1407, allocations: 49.64 kB / 361.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.1408, allocations: 8 kB / 361.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1408, allocations: 7.938 kB / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1408, allocations: 0 / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.604e-05/0.1409, allocations: 11.98 kB / 361.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1409, allocations: 0 / 361.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.1409, allocations: 8.062 kB / 361.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.1409, allocations: 4 kB / 361.3 MB, free: 10.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.915e-05/0.141, allocations: 116.4 kB / 361.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.086e-05/0.1411, allocations: 53.69 kB / 361.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.1411, allocations: 3.5 kB / 361.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1412, allocations: 11.89 kB / 361.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1412, allocations: 4 kB / 361.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1412, allocations: 0 / 361.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.1413, allocations: 161.6 kB / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1413, allocations: 4 kB / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.62e-05/0.1413, allocations: 0 / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1413, allocations: 0 / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.1413, allocations: 4 kB / 361.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1414, allocations: 0 / 361.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1414, allocations: 3.953 kB / 361.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.1415, allocations: 85.05 kB / 361.7 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.1416, allocations: 85.11 kB / 361.8 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1416, allocations: 3.938 kB / 361.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.153e-05/0.1416, allocations: 4 kB / 361.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-06/0.1416, allocations: 0 / 361.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1416, allocations: 3.953 kB / 361.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.822e-05/0.1417, allocations: 79.28 kB / 361.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1417, allocations: 0 / 361.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001933/0.1419, allocations: 8 kB / 361.9 MB, free: 9.699 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005218/0.1424, allocations: 0.6201 MB / 362.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.1425, allocations: 19.98 kB / 362.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1425, allocations: 0 / 362.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-07/0.1425, allocations: 0 / 362.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.1427, allocations: 32.17 kB / 362.6 MB, free: 9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008562/0.1436, allocations: 0.81 MB / 363.4 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.144, allocations: 0.6809 MB / 364.1 MB, free: 7.414 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.322e-05/0.144, allocations: 0 / 364.1 MB, free: 7.414 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.144, allocations: 19.42 kB / 364.1 MB, free: 7.395 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.144, allocations: 0 / 364.1 MB, free: 7.395 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.1567, allocations: 1.015 MB / 365.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/0.1571, allocations: 204.9 kB / 365.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/1.974, allocations: 0 / 365.3 MB, free: 6.301 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat