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.001419/0.001419, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.001474/0.001474, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.47/1.47, allocations: 230.4 MB / 254.7 MB, free: 15.03 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 71.91 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1197, allocations: 53.37 MB / 427.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002837/0.1226, allocations: 1.439 MB / 428.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003196/0.1229, allocations: 99.69 kB / 428.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.939e-05/0.1229, allocations: 0 / 428.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.123, allocations: 7.922 kB / 428.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.186e-05/0.123, allocations: 3.938 kB / 428.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1233, allocations: 27.91 kB / 428.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.244e-05/0.1234, allocations: 19.94 kB / 428.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.1234, allocations: 11.98 kB / 428.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.187e-05/0.1235, allocations: 11.94 kB / 428.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.606e-05/0.1235, allocations: 11.92 kB / 428.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1235, allocations: 4 kB / 428.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.1235, allocations: 0 / 428.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.1236, allocations: 8 kB / 428.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.1236, allocations: 15.92 kB / 428.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.855e-05/0.1237, allocations: 23.84 kB / 428.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1237, allocations: 0 / 428.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1237, allocations: 3.938 kB / 428.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1237, allocations: 0 / 428.7 MB, free: 2.941 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.0005601/0.1243, allocations: 335.5 kB / 429.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.1243, allocations: 20.02 kB / 429.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.337e-05/0.1243, allocations: 4.188 kB / 429.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.1244, allocations: 30.75 kB / 429.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.1244, allocations: 4.938 kB / 429.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.1247, allocations: 184.2 kB / 429.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1247, allocations: 384 / 429.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1247, allocations: 4.375 kB / 429.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.125, allocations: 115.6 kB / 429.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.125, allocations: 3.984 kB / 429.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.125, allocations: 0 / 429.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.125, allocations: 0 / 429.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.807e-05/0.1251, allocations: 15.98 kB / 429.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.1252, allocations: 153.7 kB / 429.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.1254, allocations: 46.5 kB / 429.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.482e-05/0.1254, allocations: 20.92 kB / 429.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1254, allocations: 4 kB / 429.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1255, allocations: 38.5 kB / 429.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.1255, allocations: 0 / 429.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002056/0.1257, allocations: 65.62 kB / 429.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1257, allocations: 63.34 kB / 429.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.562e-05/0.1258, allocations: 97.86 kB / 429.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1258, allocations: 25.7 kB / 429.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.1259, allocations: 88.12 kB / 430 MB, free: 1.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.866e-06/0.1259, allocations: 4 kB / 430 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.1259, allocations: 13.72 kB / 430 MB, free: 1.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1261, allocations: 314.8 kB / 430.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.1261, allocations: 7.938 kB / 430.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/0.1261, allocations: 35.42 kB / 430.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/0.1262, allocations: 31.38 kB / 430.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1262, allocations: 0 / 430.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.064e-05/0.1263, allocations: 61.62 kB / 430.5 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1263, allocations: 11.94 kB / 430.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1263, allocations: 3.938 kB / 430.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1263, allocations: 0 / 430.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.1264, allocations: 7.938 kB / 430.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1264, allocations: 0 / 430.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.1264, allocations: 4 kB / 430.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.1264, allocations: 0 / 430.5 MB, free: 0.8984 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 8.968e-05/0.1265, allocations: 118.2 kB / 430.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.1266, allocations: 61.58 kB / 430.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.1266, allocations: 3.5 kB / 430.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1266, allocations: 0 / 430.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1266, allocations: 4 kB / 430.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1266, allocations: 0 / 430.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.1267, allocations: 153.7 kB / 430.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1267, allocations: 0 / 430.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.1268, allocations: 11.92 kB / 430.9 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1268, allocations: 4.266 kB / 430.9 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1268, allocations: 8 kB / 430.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1268, allocations: 0 / 430.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1268, allocations: 0 / 430.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.1269, allocations: 81.11 kB / 431 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.127, allocations: 88.94 kB / 431 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.127, allocations: 0 / 431 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.237e-05/0.127, allocations: 3.984 kB / 431 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-06/0.127, allocations: 4 kB / 431 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.127, allocations: 4 kB / 431.1 MB, free: 260 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.486e-05/0.1271, allocations: 79.28 kB / 431.1 MB, free: 180 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1271, allocations: 0 / 431.1 MB, free: 180 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001832/0.1272, allocations: 8 kB / 431.1 MB, free: 172 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.0004995/0.1277, allocations: 0.6163 MB / 431.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.1279, allocations: 27.92 kB / 431.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1279, allocations: 0 / 431.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.1279, allocations: 0 / 431.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.1281, allocations: 13.97 kB / 431.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1292, allocations: 1.166 MB / 433 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1296, allocations: 0.6806 MB / 433.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.718e-05/0.1296, allocations: 0 / 433.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.1296, allocations: 11.44 kB / 433.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1296, allocations: 0 / 433.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.1483, allocations: 1.283 MB / 434.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.277, allocations: 13.28 kB / 434.9 MB, free: 12.36 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/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_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: 11.034587420988828]