Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001123, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 63.27 kB / 307 MB, free: 456 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1417, allocations: 50.54 MB / 357.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003757/0.1455, allocations: 1.421 MB / 359 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002274/0.1458, allocations: 23.92 kB / 359 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.311e-05/0.1459, allocations: 4 kB / 359 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.1459, allocations: 3.938 kB / 359 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.399e-05/0.146, allocations: 7.922 kB / 359 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.1463, allocations: 23.98 kB / 359.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.064e-05/0.1464, allocations: 19.98 kB / 359.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1465, allocations: 15.98 kB / 359.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.1466, allocations: 7.875 kB / 359.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.1466, allocations: 19.92 kB / 359.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.1466, allocations: 4 kB / 359.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.1467, allocations: 4 kB / 359.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.1467, allocations: 4 kB / 359.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.1467, allocations: 19.86 kB / 359.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.1468, allocations: 27.89 kB / 359.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1469, allocations: 0 / 359.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1469, allocations: 0 / 359.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1469, allocations: 0 / 359.2 MB, free: 12.29 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.0005343/0.1474, allocations: 343.7 kB / 359.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1475, allocations: 12.03 kB / 359.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.1475, allocations: 34.75 kB / 359.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.1476, allocations: 8.844 kB / 359.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.1478, allocations: 168.4 kB / 359.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1478, allocations: 384 / 359.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1478, allocations: 8.375 kB / 359.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.1482, allocations: 119.8 kB / 359.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1482, allocations: 7.938 kB / 359.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1482, allocations: 0 / 359.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1482, allocations: 0 / 359.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1483, allocations: 19.97 kB / 359.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.1485, allocations: 157.7 kB / 360.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1486, allocations: 50.55 kB / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.995e-05/0.1487, allocations: 24.92 kB / 360.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.1487, allocations: 4 kB / 360.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1488, allocations: 38.5 kB / 360.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1488, allocations: 0 / 360.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002626/0.149, allocations: 77.66 kB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.1491, allocations: 59.42 kB / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.998e-05/0.1492, allocations: 101.9 kB / 360.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1492, allocations: 29.64 kB / 360.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.1492, allocations: 84.14 kB / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.1493, allocations: 11.92 kB / 360.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.1493, allocations: 17.72 kB / 360.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1494, allocations: 314.8 kB / 360.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.1494, allocations: 8 kB / 360.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/0.1495, allocations: 33.05 kB / 360.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.531e-05/0.1495, allocations: 39.38 kB / 360.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1495, allocations: 0 / 360.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.924e-05/0.1496, allocations: 65.53 kB / 361 MB, free: 10.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1497, allocations: 7.938 kB / 361 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1497, allocations: 0 / 361 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1497, allocations: 8.125 kB / 361 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.1498, allocations: 4 kB / 361 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1498, allocations: 0 / 361 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.1498, allocations: 0 / 361 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.1498, allocations: 4.375 kB / 361 MB, free: 10.2 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.505e-05/0.1499, allocations: 125.7 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.15, allocations: 61.62 kB / 361.2 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.1501, allocations: 7.484 kB / 361.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1501, allocations: 0 / 361.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1501, allocations: 8 kB / 361.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1501, allocations: 0 / 361.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.856e-05/0.1502, allocations: 157.6 kB / 361.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1502, allocations: 0 / 361.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.1502, allocations: 7.984 kB / 361.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1503, allocations: 3.938 kB / 361.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1503, allocations: 0 / 361.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1503, allocations: 0 / 361.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1503, allocations: 4 kB / 361.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1505, allocations: 92.95 kB / 361.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.1505, allocations: 77.11 kB / 361.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.1505, allocations: 11.94 kB / 361.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.976e-05/0.1506, allocations: 7.922 kB / 361.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-06/0.1506, allocations: 0 / 361.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.1506, allocations: 4 kB / 361.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.998e-05/0.1506, allocations: 79.28 kB / 361.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1506, allocations: 0 / 361.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001959/0.1508, allocations: 11.94 kB / 361.7 MB, free: 9.445 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0005698/0.1514, allocations: 0.6435 MB / 362.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.1516, allocations: 35.97 kB / 362.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1516, allocations: 0 / 362.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-07/0.1516, allocations: 3.938 kB / 362.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.1519, allocations: 32.3 kB / 362.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1529, allocations: 1.165 MB / 363.5 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1531, allocations: 0.6884 MB / 364.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.487e-05/0.1532, allocations: 0 / 364.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.1532, allocations: 11.44 kB / 364.2 MB, free: 6.715 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1532, allocations: 0 / 364.2 MB, free: 6.715 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.1731, allocations: 1.277 MB / 365.5 MB, free: 5.551 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.565, allocations: 18.53 kB / 365.5 MB, free: 5.543 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches