Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001812/0.001812, allocations: 118.6 kB / 18.5 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.002177/0.002177, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.419/1.419, allocations: 230.2 MB / 254.5 MB, free: 15.22 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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 59.91 kB / 373.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1096, allocations: 53.31 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002843/0.1124, allocations: 1.517 MB / 428.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000434/0.1129, allocations: 143.5 kB / 428.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.1129, allocations: 0 / 428.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.406e-05/0.113, allocations: 3.938 kB / 428.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.1131, allocations: 15.86 kB / 428.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.1134, allocations: 39.91 kB / 428.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.1135, allocations: 27.92 kB / 428.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1136, allocations: 15.98 kB / 428.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.908e-05/0.1136, allocations: 15.94 kB / 428.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.387e-05/0.1137, allocations: 11.92 kB / 428.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1137, allocations: 7.984 kB / 428.4 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.1137, allocations: 4 kB / 428.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.1138, allocations: 19.86 kB / 428.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.1138, allocations: 19.81 kB / 428.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.1139, allocations: 43.77 kB / 428.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1139, allocations: 0 / 428.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1139, allocations: 0 / 428.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1139, allocations: 0 / 428.5 MB, free: 3.098 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000538/0.1145, allocations: 371.2 kB / 428.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1145, allocations: 12.03 kB / 428.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.1146, allocations: 34.75 kB / 428.9 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.1146, allocations: 8.891 kB / 429 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.1149, allocations: 185.9 kB / 429.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.1149, allocations: 12.31 kB / 429.1 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.1149, allocations: 4.375 kB / 429.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.1152, allocations: 113.6 kB / 429.3 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1152, allocations: 3.938 kB / 429.3 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1152, allocations: 3.984 kB / 429.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1152, allocations: 0 / 429.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.22e-05/0.1153, allocations: 15.98 kB / 429.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1156, allocations: 269.7 kB / 429.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1158, allocations: 134.2 kB / 429.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.1159, allocations: 25.77 kB / 429.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1159, allocations: 4 kB / 429.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1159, allocations: 38.56 kB / 429.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1159, allocations: 0 / 429.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002337/0.1162, allocations: 73.56 kB / 429.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.1162, allocations: 77.11 kB / 429.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1164, allocations: 131 kB / 430 MB, free: 1.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1164, allocations: 29.7 kB / 430 MB, free: 1.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.1164, allocations: 88.2 kB / 430.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.1165, allocations: 4 kB / 430.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.1165, allocations: 25.66 kB / 430.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1166, allocations: 314.8 kB / 430.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.01e-05/0.1167, allocations: 4 kB / 430.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.375e-05/0.1167, allocations: 31.42 kB / 430.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.104e-05/0.1168, allocations: 47.36 kB / 430.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1168, allocations: 3.938 kB / 430.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001075/0.1169, allocations: 61.56 kB / 430.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1169, allocations: 8.125 kB / 430.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1169, allocations: 0 / 430.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1169, allocations: 4 kB / 430.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-05/0.117, allocations: 0 / 430.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.117, allocations: 0 / 430.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.117, allocations: 8 kB / 430.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.117, allocations: 7.984 kB / 430.6 MB, free: 0.6797 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.603e-05/0.1171, allocations: 121.8 kB / 430.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.1172, allocations: 49.59 kB / 430.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.1172, allocations: 11.89 kB / 430.8 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1172, allocations: 7.938 kB / 430.8 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1172, allocations: 0 / 430.8 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1172, allocations: 0 / 430.8 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.1174, allocations: 169.6 kB / 431 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1174, allocations: 0 / 431 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.426e-05/0.1174, allocations: 8 kB / 431 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1174, allocations: 0 / 431 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1174, allocations: 0 / 431 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1174, allocations: 0 / 431 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1174, allocations: 4 kB / 431 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.1176, allocations: 176.5 kB / 431.2 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.1177, allocations: 93.05 kB / 431.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1177, allocations: 0 / 431.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.051e-05/0.1177, allocations: 0 / 431.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.1178, allocations: 4 kB / 431.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.1178, allocations: 4 kB / 431.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.316e-05/0.1178, allocations: 108.9 kB / 431.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1178, allocations: 0 / 431.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.1181, allocations: 12 kB / 431.4 MB, free: 15.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0004894/0.1186, allocations: 0.6937 MB / 432.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.1187, allocations: 19.98 kB / 432.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1187, allocations: 7.875 kB / 432.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.1187, allocations: 11.98 kB / 432.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.119, allocations: 18.78 kB / 432.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.1204, allocations: 1.314 MB / 433.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.1207, allocations: 0.6846 MB / 434.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.985e-05/0.1207, allocations: 3.984 kB / 434.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.1208, allocations: 15.44 kB / 434.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1208, allocations: 4 kB / 434.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.1438, allocations: 1.459 MB / 435.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/7.947, allocations: 10.17 kB / 435.6 MB, free: 11.52 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.543812243733555]