Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001372/0.001372, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001476/0.001476, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.457/1.457, allocations: 230.6 MB / 254.1 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.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09973/0.1013, allocations: 53.33 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002722/0.104, allocations: 1.523 MB / 427.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003511/0.1043, allocations: 143.5 kB / 428 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.1044, allocations: 4 kB / 428 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.366e-05/0.1044, allocations: 3.938 kB / 428 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.1046, allocations: 7.922 kB / 428 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.1048, allocations: 39.48 kB / 428 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.142e-05/0.1049, allocations: 31.97 kB / 428.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.46e-05/0.1049, allocations: 19.92 kB / 428.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.083e-05/0.105, allocations: 11.94 kB / 428.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.882e-05/0.105, allocations: 15.86 kB / 428.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.105, allocations: 4 kB / 428.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.105, allocations: 3.938 kB / 428.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.1051, allocations: 11.98 kB / 428.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.1051, allocations: 23.81 kB / 428.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1052, allocations: 47.75 kB / 428.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1052, allocations: 0 / 428.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1052, allocations: 0 / 428.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1052, allocations: 0 / 428.2 MB, free: 2.891 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.0004315/0.1056, allocations: 371.2 kB / 428.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1057, allocations: 8.031 kB / 428.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.1057, allocations: 38.75 kB / 428.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.1057, allocations: 8.891 kB / 428.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.106, allocations: 192.2 kB / 428.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.106, allocations: 4.375 kB / 428.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.106, allocations: 4.375 kB / 428.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.1062, allocations: 117.6 kB / 428.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1063, allocations: 3.938 kB / 428.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.1063, allocations: 0 / 428.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1063, allocations: 4 kB / 428.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.041e-05/0.1063, allocations: 19.92 kB / 428.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.1066, allocations: 257.7 kB / 429.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1068, allocations: 142.2 kB / 429.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.1068, allocations: 25.77 kB / 429.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.1069, allocations: 4 kB / 429.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1069, allocations: 34.56 kB / 429.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1069, allocations: 0 / 429.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000216/0.1071, allocations: 73.55 kB / 429.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.1072, allocations: 85.11 kB / 429.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1073, allocations: 127.9 kB / 429.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1073, allocations: 33.83 kB / 429.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.1074, allocations: 80.14 kB / 429.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/0.1074, allocations: 4 kB / 429.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.1074, allocations: 25.66 kB / 429.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1075, allocations: 318.8 kB / 430.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/0.1076, allocations: 7.984 kB / 430.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.66e-05/0.1076, allocations: 39.38 kB / 430.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.829e-05/0.1077, allocations: 35.42 kB / 430.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1077, allocations: 3.938 kB / 430.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001137/0.1078, allocations: 65.62 kB / 430.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1078, allocations: 8 kB / 430.3 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1078, allocations: 0 / 430.3 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1078, allocations: 0 / 430.3 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.211e-05/0.1078, allocations: 4 kB / 430.3 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.1079, allocations: 0 / 430.3 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.1079, allocations: 4 kB / 430.3 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.1079, allocations: 0 / 430.3 MB, free: 488 kB / 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.33e-05/0.108, allocations: 125.7 kB / 430.4 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.1081, allocations: 53.7 kB / 430.5 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.1081, allocations: 15.84 kB / 430.5 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1081, allocations: 0 / 430.5 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1081, allocations: 0 / 430.5 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1081, allocations: 4 kB / 430.5 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.1083, allocations: 169.6 kB / 430.7 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1083, allocations: 4 kB / 430.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-06/0.1083, allocations: 0 / 430.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1083, allocations: 0 / 430.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1083, allocations: 4 kB / 430.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1083, allocations: 0 / 430.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1083, allocations: 4 kB / 430.7 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.1085, allocations: 168.2 kB / 430.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.1085, allocations: 93.05 kB / 430.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.1086, allocations: 0 / 430.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.385e-05/0.1086, allocations: 4 kB / 430.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.1086, allocations: 0 / 430.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.1086, allocations: 4 kB / 430.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.144e-05/0.1087, allocations: 111.2 kB / 431 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1087, allocations: 0 / 431 MB, free: 15.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.1089, allocations: 4 kB / 431 MB, free: 15.61 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.0004769/0.1094, allocations: 0.6976 MB / 431.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.1095, allocations: 27.92 kB / 431.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1095, allocations: 0 / 431.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-05/0.1095, allocations: 7.984 kB / 431.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.1098, allocations: 22.58 kB / 431.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1111, allocations: 1.317 MB / 433.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.1114, allocations: 0.6846 MB / 433.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.209e-05/0.1114, allocations: 7.984 kB / 433.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.1115, allocations: 15.44 kB / 433.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1115, allocations: 0 / 433.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.1342, allocations: 1.459 MB / 435.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/7.727, allocations: 0 / 435.3 MB, free: 11.33 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.268790771951899]