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.001642/0.001642, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001643/0.001643, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 227.4 MB / 246.3 MB, free: 9.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001693, allocations: 59.66 kB / 306.4 MB, free: 0.6797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1276, allocations: 50.53 MB / 356.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003873/0.1315, allocations: 1.503 MB / 358.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004321/0.132, allocations: 91.69 kB / 358.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1322, allocations: 0 / 358.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.924e-05/0.1323, allocations: 4 kB / 358.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.1324, allocations: 0 / 358.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.1328, allocations: 27.53 kB / 358.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.1329, allocations: 23.88 kB / 358.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.133, allocations: 15.98 kB / 358.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.75e-05/0.1331, allocations: 4 kB / 358.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.383e-05/0.1332, allocations: 19.91 kB / 358.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.1332, allocations: 0 / 358.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.1332, allocations: 0 / 358.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.1332, allocations: 7.938 kB / 358.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.141e-05/0.1333, allocations: 11.94 kB / 358.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.1335, allocations: 23.91 kB / 358.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1335, allocations: 0 / 358.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1335, allocations: 0 / 358.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.1335, allocations: 4 kB / 358.6 MB, free: 12.41 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.0006259/0.1341, allocations: 342 kB / 358.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.091e-05/0.1342, allocations: 12.02 kB / 359 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.1343, allocations: 34.75 kB / 359 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.1343, allocations: 4.844 kB / 359 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1346, allocations: 172.4 kB / 359.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.1346, allocations: 8.375 kB / 359.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1346, allocations: 384 / 359.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.1349, allocations: 111.8 kB / 359.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1349, allocations: 3.938 kB / 359.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1349, allocations: 0 / 359.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1349, allocations: 0 / 359.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.982e-05/0.135, allocations: 12 kB / 359.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.1352, allocations: 157.6 kB / 359.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.1353, allocations: 50.56 kB / 359.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.1354, allocations: 20.92 kB / 359.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.1354, allocations: 4 kB / 359.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1354, allocations: 38.5 kB / 359.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.906e-06/0.1355, allocations: 0 / 359.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002377/0.1357, allocations: 69.69 kB / 359.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.1358, allocations: 63.39 kB / 359.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.1358, allocations: 97.86 kB / 359.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1359, allocations: 25.7 kB / 359.8 MB, free: 11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.1359, allocations: 80.14 kB / 359.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.969e-06/0.1359, allocations: 15.92 kB / 359.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.136, allocations: 13.72 kB / 359.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1361, allocations: 314.8 kB / 360.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.1361, allocations: 4 kB / 360.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.259e-05/0.1362, allocations: 39.36 kB / 360.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.813e-05/0.1362, allocations: 23.44 kB / 360.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1362, allocations: 3.938 kB / 360.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.453e-05/0.1363, allocations: 61.62 kB / 360.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1364, allocations: 11.94 kB / 360.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1364, allocations: 0 / 360.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1364, allocations: 0 / 360.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.1364, allocations: 4 kB / 360.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1365, allocations: 0 / 360.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/0.1365, allocations: 11.84 kB / 360.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1365, allocations: 3.984 kB / 360.4 MB, free: 10.37 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/0.1366, allocations: 121.8 kB / 360.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.1367, allocations: 57.62 kB / 360.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.1367, allocations: 7.484 kB / 360.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1367, allocations: 0 / 360.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1368, allocations: 0 / 360.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1368, allocations: 0 / 360.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1369, allocations: 153.7 kB / 360.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1369, allocations: 0 / 360.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.1369, allocations: 4.25 kB / 360.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1369, allocations: 7.938 kB / 360.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1369, allocations: 8 kB / 360.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.137, allocations: 3.984 kB / 360.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.137, allocations: 0 / 360.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.1371, allocations: 81.06 kB / 360.8 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.1372, allocations: 81.02 kB / 360.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.1372, allocations: 7.875 kB / 360.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/0.1372, allocations: 0 / 360.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-06/0.1372, allocations: 8 kB / 360.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.1372, allocations: 3.984 kB / 360.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.09e-05/0.1373, allocations: 79.28 kB / 361 MB, free: 9.648 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1373, allocations: 0 / 361 MB, free: 9.648 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001982/0.1375, allocations: 8 kB / 361 MB, free: 9.641 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 (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.0005811/0.1381, allocations: 0.6163 MB / 361.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.1382, allocations: 20 kB / 361.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1383, allocations: 0 / 361.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.644e-06/0.1383, allocations: 7.922 kB / 361.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.1385, allocations: 23.97 kB / 361.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.1397, allocations: 1.145 MB / 362.8 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.1399, allocations: 0.677 MB / 363.5 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.759e-05/0.14, allocations: 4.25 kB / 363.5 MB, free: 6.992 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.14, allocations: 11.44 kB / 363.5 MB, free: 6.98 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.14, allocations: 0 / 363.5 MB, free: 6.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.1536, allocations: 1.087 MB / 364.6 MB, free: 6.031 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/0.1539, allocations: 230 kB / 364.8 MB, free: 5.766 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/1.919, allocations: 3.938 kB / 364.8 MB, free: 5.762 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/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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches