Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001218/0.001218, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001489/0.001489, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.424/1.424, 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.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 51.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1042, allocations: 53.33 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002711/0.107, allocations: 1.5 MB / 427.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000372/0.1073, allocations: 147.5 kB / 428 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.1074, allocations: 3.938 kB / 428 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.273e-05/0.1074, allocations: 3.984 kB / 428 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.1076, allocations: 7.938 kB / 428 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.1078, allocations: 35.84 kB / 428 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.07e-05/0.1079, allocations: 27.92 kB / 428 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.108, allocations: 11.98 kB / 428 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.108, allocations: 11.94 kB / 428.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.985e-05/0.108, allocations: 15.91 kB / 428.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.108, allocations: 0 / 428.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.108, allocations: 7.938 kB / 428.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.1081, allocations: 15.94 kB / 428.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.1081, allocations: 15.88 kB / 428.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.1082, allocations: 43.75 kB / 428.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1082, allocations: 0 / 428.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1082, allocations: 0 / 428.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1082, allocations: 0 / 428.2 MB, free: 2.945 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.0004599/0.1087, allocations: 359.2 kB / 428.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1087, allocations: 12.03 kB / 428.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.1088, allocations: 34.69 kB / 428.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.1088, allocations: 8.891 kB / 428.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.109, allocations: 196.2 kB / 428.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.109, allocations: 384 / 428.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.1091, allocations: 4.375 kB / 428.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.1093, allocations: 89.61 kB / 428.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1093, allocations: 7.938 kB / 428.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.1093, allocations: 0 / 428.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1093, allocations: 0 / 428.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.218e-05/0.1093, allocations: 8 kB / 428.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.1097, allocations: 257.8 kB / 429.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.495e-05/0.1098, allocations: 45.09 kB / 429.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.1098, allocations: 17.78 kB / 429.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1098, allocations: 0 / 429.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1098, allocations: 38.55 kB / 429.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1098, allocations: 0 / 429.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002077/0.1101, allocations: 57.8 kB / 429.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/0.1101, allocations: 85.08 kB / 429.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1103, allocations: 131.7 kB / 429.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1103, allocations: 25.7 kB / 429.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.1103, allocations: 88.14 kB / 429.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/0.1103, allocations: 3.953 kB / 429.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.1104, allocations: 13.72 kB / 429.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1105, allocations: 318.8 kB / 429.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.1105, allocations: 8 kB / 429.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.1106, allocations: 13.72 kB / 429.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.187e-05/0.1106, allocations: 25.7 kB / 430 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1106, allocations: 3.938 kB / 430 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001002/0.1107, allocations: 49.72 kB / 430 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1107, allocations: 8.031 kB / 430 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1107, allocations: 0 / 430 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1108, allocations: 7.984 kB / 430 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.258e-05/0.1108, allocations: 7.875 kB / 430 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1108, allocations: 0 / 430 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.1108, allocations: 0 / 430 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.1108, allocations: 8 kB / 430 MB, free: 0.7734 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.799e-05/0.1109, allocations: 125.7 kB / 430.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.111, allocations: 37.66 kB / 430.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.111, allocations: 11.53 kB / 430.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.111, allocations: 0 / 430.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.111, allocations: 4 kB / 430.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.111, allocations: 3.984 kB / 430.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1112, allocations: 161.6 kB / 430.4 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1112, allocations: 0 / 430.4 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-06/0.1112, allocations: 0 / 430.4 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1112, allocations: 0 / 430.4 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1112, allocations: 4 kB / 430.4 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1112, allocations: 0 / 430.4 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1112, allocations: 8.016 kB / 430.4 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.1113, allocations: 160.2 kB / 430.5 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.1114, allocations: 89 kB / 430.6 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.1114, allocations: 3.984 kB / 430.6 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.044e-05/0.1115, allocations: 0 / 430.6 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.1115, allocations: 4 kB / 430.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1115, allocations: 8.031 kB / 430.7 MB, free: 56 kB / 350.1 MB Notification: Performance of sorting global known variables: time 9.511e-05/0.1116, allocations: 95.27 kB / 430.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1116, allocations: 0 / 430.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.1118, allocations: 4 kB / 430.7 MB, free: 15.96 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: 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.0004843/0.1123, allocations: 0.6898 MB / 431.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.1124, allocations: 16 kB / 431.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1124, allocations: 0 / 431.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.626e-05/0.1124, allocations: 7.984 kB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.1127, allocations: 14.2 kB / 431.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.1139, allocations: 1.258 MB / 432.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1143, allocations: 0.6885 MB / 433.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.512e-05/0.1143, allocations: 3.938 kB / 433.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.1143, allocations: 7.438 kB / 433.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1143, allocations: 0 / 433.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.1408, allocations: 1.389 MB / 434.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/7.756, allocations: 8 kB / 434.8 MB, free: 11.87 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.238641026895493]