Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001798/0.001798, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001946/0.001946, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.398/1.398, 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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 63.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1038, allocations: 53.32 MB / 426.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002734/0.1065, allocations: 1.502 MB / 428.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003805/0.1069, allocations: 147.5 kB / 428.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.107, allocations: 3.938 kB / 428.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.347e-05/0.107, allocations: 3.938 kB / 428.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.1071, allocations: 11.92 kB / 428.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.1073, allocations: 31.91 kB / 428.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.044e-05/0.1074, allocations: 27.92 kB / 428.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.1075, allocations: 11.98 kB / 428.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.868e-05/0.1076, allocations: 11.92 kB / 428.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.883e-05/0.1076, allocations: 11.94 kB / 428.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1076, allocations: 0 / 428.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.1076, allocations: 8 kB / 428.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.1077, allocations: 15.92 kB / 428.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.1077, allocations: 15.88 kB / 428.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.1078, allocations: 43.75 kB / 428.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1078, allocations: 0 / 428.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1078, allocations: 0 / 428.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1078, allocations: 0 / 428.5 MB, free: 3.164 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004613/0.1083, allocations: 358 kB / 428.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1083, allocations: 12.03 kB / 428.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.1084, allocations: 42.62 kB / 428.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.1084, allocations: 12.89 kB / 428.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1086, allocations: 182 kB / 429.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1087, allocations: 4.375 kB / 429.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.1087, allocations: 4.375 kB / 429.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.1089, allocations: 89.61 kB / 429.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1089, allocations: 3.938 kB / 429.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1089, allocations: 0 / 429.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1089, allocations: 0 / 429.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.376e-05/0.109, allocations: 15.98 kB / 429.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.1093, allocations: 253.8 kB / 429.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.68e-05/0.1094, allocations: 49.14 kB / 429.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.1094, allocations: 13.78 kB / 429.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1094, allocations: 7.938 kB / 429.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1094, allocations: 34.56 kB / 429.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.1094, allocations: 0 / 429.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002105/0.1097, allocations: 61.67 kB / 429.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.1097, allocations: 81.09 kB / 429.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1098, allocations: 129.8 kB / 429.8 MB, free: 1.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1099, allocations: 25.7 kB / 429.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.1099, allocations: 84.14 kB / 429.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.1099, allocations: 7.953 kB / 429.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.11, allocations: 13.72 kB / 429.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1101, allocations: 326.9 kB / 430.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.1101, allocations: 4 kB / 430.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.658e-05/0.1101, allocations: 13.72 kB / 430.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/0.1102, allocations: 29.64 kB / 430.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1102, allocations: 3.938 kB / 430.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.119e-05/0.1103, allocations: 45.77 kB / 430.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1103, allocations: 7.984 kB / 430.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1103, allocations: 0 / 430.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1103, allocations: 4 kB / 430.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.399e-05/0.1103, allocations: 7.875 kB / 430.4 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1103, allocations: 0 / 430.4 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.1104, allocations: 4 kB / 430.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.1104, allocations: 4 kB / 430.4 MB, free: 0.9922 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.203e-05/0.1105, allocations: 117.8 kB / 430.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.1105, allocations: 45.64 kB / 430.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.1105, allocations: 7.531 kB / 430.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1105, allocations: 0 / 430.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1106, allocations: 4 kB / 430.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1106, allocations: 0 / 430.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.1107, allocations: 173.6 kB / 430.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1107, allocations: 0 / 430.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-06/0.1107, allocations: 0 / 430.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1107, allocations: 0 / 430.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.1107, allocations: 7.938 kB / 430.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1107, allocations: 4.031 kB / 430.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1107, allocations: 0 / 430.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.1109, allocations: 156.3 kB / 430.9 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.111, allocations: 92.98 kB / 431 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.111, allocations: 0 / 431 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.103e-05/0.111, allocations: 0 / 431 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.111, allocations: 12.02 kB / 431 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.111, allocations: 0 / 431 MB, free: 280 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.911e-05/0.1111, allocations: 101.1 kB / 431.1 MB, free: 180 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1111, allocations: 0 / 431.1 MB, free: 180 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002065/0.1113, allocations: 4 kB / 431.1 MB, free: 176 kB / 350.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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004543/0.1118, allocations: 0.6859 MB / 431.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1119, allocations: 19.92 kB / 431.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1119, allocations: 4 kB / 431.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.092e-05/0.1119, allocations: 0 / 431.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.1122, allocations: 19.95 kB / 431.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1134, allocations: 1.253 MB / 433.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.1137, allocations: 0.6807 MB / 433.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.004e-05/0.1137, allocations: 11.92 kB / 433.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.1137, allocations: 11.44 kB / 433.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1137, allocations: 0 / 433.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.1366, allocations: 1.374 MB / 435.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.115, allocations: 18.97 kB / 435.2 MB, free: 12.08 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.650787346996367]