Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 121.2 kB / 18.49 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 205.5 kB / 21.45 MB, free: 1.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 47.94 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1098, allocations: 53.32 MB / 427 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002816/0.1126, allocations: 1.445 MB / 428.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002802/0.1129, allocations: 99.73 kB / 428.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.113, allocations: 0 / 428.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.113, allocations: 3.938 kB / 428.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.269e-05/0.1131, allocations: 7.922 kB / 428.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.1133, allocations: 27.86 kB / 428.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.1134, allocations: 19.98 kB / 428.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.512e-05/0.1135, allocations: 7.984 kB / 428.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.1135, allocations: 15.92 kB / 428.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.093e-05/0.1136, allocations: 7.938 kB / 428.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1136, allocations: 8 kB / 428.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.1136, allocations: 3.938 kB / 428.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.1136, allocations: 8 kB / 428.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.1136, allocations: 11.92 kB / 428.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.115e-05/0.1137, allocations: 31.83 kB / 428.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1137, allocations: 0 / 428.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1137, allocations: 0 / 428.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1138, allocations: 3.938 kB / 428.7 MB, free: 3.105 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.0004112/0.1142, allocations: 335.5 kB / 429 MB, free: 2.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1142, allocations: 12.03 kB / 429 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.491e-05/0.1142, allocations: 4.188 kB / 429.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.1142, allocations: 30.75 kB / 429.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.068e-05/0.1143, allocations: 0.9375 kB / 429.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1145, allocations: 188.3 kB / 429.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1145, allocations: 384 / 429.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1145, allocations: 4.375 kB / 429.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.1148, allocations: 111.6 kB / 429.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1148, allocations: 0 / 429.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.1148, allocations: 0 / 429.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1148, allocations: 0 / 429.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.476e-05/0.1149, allocations: 15.98 kB / 429.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.1151, allocations: 153.7 kB / 429.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1152, allocations: 50.53 kB / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.1152, allocations: 16.89 kB / 429.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1153, allocations: 4 kB / 429.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.1153, allocations: 46.47 kB / 429.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.1153, allocations: 0 / 429.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001956/0.1155, allocations: 61.64 kB / 429.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.1155, allocations: 55.41 kB / 429.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.1156, allocations: 105.8 kB / 429.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1156, allocations: 25.7 kB / 429.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.1157, allocations: 84.14 kB / 430 MB, free: 1.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.737e-06/0.1157, allocations: 4 kB / 430 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.1157, allocations: 9.719 kB / 430 MB, free: 1.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1159, allocations: 322.8 kB / 430.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.1159, allocations: 0 / 430.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.1159, allocations: 39.31 kB / 430.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.743e-05/0.116, allocations: 35.42 kB / 430.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.116, allocations: 0 / 430.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.133e-05/0.116, allocations: 61.58 kB / 430.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1161, allocations: 7.938 kB / 430.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1161, allocations: 4 kB / 430.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1161, allocations: 7.922 kB / 430.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.063e-05/0.1161, allocations: 4 kB / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1161, allocations: 0 / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.1162, allocations: 0 / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.1162, allocations: 4 kB / 430.5 MB, free: 1.074 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.849e-05/0.1163, allocations: 121.9 kB / 430.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.474e-05/0.1164, allocations: 53.58 kB / 430.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.1164, allocations: 7.5 kB / 430.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.1164, allocations: 0 / 430.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1164, allocations: 0 / 430.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1164, allocations: 3.984 kB / 430.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.1165, allocations: 153.7 kB / 430.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1165, allocations: 256 / 430.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.1165, allocations: 8 kB / 430.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1165, allocations: 3.938 kB / 430.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.1166, allocations: 4 kB / 430.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1166, allocations: 4 kB / 430.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1166, allocations: 3.984 kB / 430.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.1167, allocations: 81.38 kB / 430.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.1167, allocations: 92.94 kB / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1168, allocations: 0 / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.764e-05/0.1168, allocations: 48 / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-06/0.1168, allocations: 3.984 kB / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1168, allocations: 8 kB / 431 MB, free: 436 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.994e-05/0.1168, allocations: 83.27 kB / 431.1 MB, free: 352 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1168, allocations: 0 / 431.1 MB, free: 352 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001829/0.117, allocations: 8 kB / 431.1 MB, free: 344 kB / 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.0004731/0.1175, allocations: 0.6085 MB / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.1176, allocations: 27.98 kB / 431.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1176, allocations: 0 / 431.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.1176, allocations: 0 / 431.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.1178, allocations: 19.92 kB / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1189, allocations: 1.158 MB / 432.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1192, allocations: 0.6806 MB / 433.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.461e-05/0.1192, allocations: 4 kB / 433.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.1192, allocations: 7.438 kB / 433.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1192, allocations: 0 / 433.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.137, allocations: 1.271 MB / 434.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/7.814, allocations: 15.78 kB / 434.9 MB, free: 12.55 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.41646340501029]