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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001671/0.001671, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001857/0.001857, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 71.88 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1117, allocations: 53.32 MB / 426.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002869/0.1146, allocations: 1.441 MB / 428.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002833/0.1149, allocations: 99.67 kB / 428.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.1149, allocations: 4 kB / 428.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.115, allocations: 3.938 kB / 428.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.278e-05/0.115, allocations: 0 / 428.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1153, allocations: 27.91 kB / 428.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.465e-05/0.1154, allocations: 23.92 kB / 428.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1155, allocations: 8 kB / 428.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.371e-05/0.1155, allocations: 11.94 kB / 428.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.1155, allocations: 15.91 kB / 428.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1155, allocations: 0 / 428.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.1156, allocations: 4 kB / 428.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.1156, allocations: 4 kB / 428.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.1156, allocations: 11.94 kB / 428.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.1157, allocations: 31.78 kB / 428.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1157, allocations: 4 kB / 428.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1157, allocations: 0 / 428.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1157, allocations: 0 / 428.3 MB, free: 3.312 MB / 350.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.0004758/0.1162, allocations: 342.2 kB / 428.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1162, allocations: 8.031 kB / 428.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.1163, allocations: 30.75 kB / 428.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.437e-05/0.1163, allocations: 8.875 kB / 428.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.1166, allocations: 184.2 kB / 428.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.1166, allocations: 384 / 428.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1166, allocations: 8.375 kB / 428.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.1169, allocations: 99.88 kB / 429 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1169, allocations: 7.875 kB / 429 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1169, allocations: 0 / 429 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1169, allocations: 0 / 429 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.19e-05/0.117, allocations: 11.98 kB / 429 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.1171, allocations: 161.7 kB / 429.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1173, allocations: 46.5 kB / 429.2 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.1173, allocations: 24.92 kB / 429.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.1173, allocations: 0 / 429.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1174, allocations: 34.56 kB / 429.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1174, allocations: 4 kB / 429.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002112/0.1176, allocations: 69.5 kB / 429.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.1176, allocations: 59.41 kB / 429.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.1177, allocations: 101.8 kB / 429.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1177, allocations: 25.7 kB / 429.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.1178, allocations: 84.14 kB / 429.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.1178, allocations: 4 kB / 429.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.1178, allocations: 13.72 kB / 429.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.118, allocations: 318.8 kB / 430 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.118, allocations: 7.984 kB / 430 MB, free: 1.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.118, allocations: 23.44 kB / 430 MB, free: 1.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.1181, allocations: 39.38 kB / 430 MB, free: 1.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1181, allocations: 0 / 430 MB, free: 1.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.048e-05/0.1182, allocations: 53.62 kB / 430.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1182, allocations: 15.88 kB / 430.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1182, allocations: 288 / 430.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1182, allocations: 0 / 430.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.757e-05/0.1182, allocations: 7.938 kB / 430.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1183, allocations: 0 / 430.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.1183, allocations: 12.12 kB / 430.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.1183, allocations: 3.984 kB / 430.1 MB, free: 1.277 MB / 350.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 9.771e-05/0.1184, allocations: 109.8 kB / 430.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/0.1185, allocations: 65.56 kB / 430.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.1185, allocations: 3.5 kB / 430.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1185, allocations: 0 / 430.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1185, allocations: 0 / 430.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1185, allocations: 0 / 430.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.1186, allocations: 153.7 kB / 430.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1186, allocations: 11.92 kB / 430.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.1187, allocations: 4 kB / 430.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1187, allocations: 3.938 kB / 430.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.1187, allocations: 0 / 430.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1187, allocations: 256 / 430.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1187, allocations: 3.938 kB / 430.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.1188, allocations: 81.12 kB / 430.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.1189, allocations: 85 kB / 430.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.1189, allocations: 15.92 kB / 430.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.1189, allocations: 4 kB / 430.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-06/0.1189, allocations: 0 / 430.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1189, allocations: 0 / 430.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.576e-05/0.119, allocations: 79.28 kB / 430.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.119, allocations: 0 / 430.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001902/0.1191, allocations: 8 kB / 430.7 MB, free: 0.5508 MB / 350.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.0004986/0.1196, allocations: 0.6163 MB / 431.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.1198, allocations: 27.92 kB / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1198, allocations: 0 / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-07/0.1198, allocations: 0 / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.12, allocations: 16.03 kB / 431.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.121, allocations: 1.158 MB / 432.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.1214, allocations: 0.6807 MB / 433.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.481e-05/0.1214, allocations: 0 / 433.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.1214, allocations: 11.44 kB / 433.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1214, allocations: 4 kB / 433.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.1442, allocations: 1.24 MB / 434.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.071, allocations: 7.938 kB / 434.5 MB, free: 12.76 MB / 366.1 MB " [Timeout remaining time 652] (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 --stepSize=0.000199561 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.503176869824529]