Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008267/0.0008267, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8896/0.8896, allocations: 173.3 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.837e-05, allocations: 5.516 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003029/0.003048, allocations: 1.868 MB / 320.3 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.004931, allocations: 1.028 MB / 321.3 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.005065, allocations: 3.938 kB / 321.3 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007413/0.005807, allocations: 155.5 kB / 321.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.00616, allocations: 115.5 kB / 321.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006806/0.006841, allocations: 224.5 kB / 321.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.007199, allocations: 187.5 kB / 322 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.00733, allocations: 25.78 kB / 322 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.007496, allocations: 103.7 kB / 322.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.007621, allocations: 67.8 kB / 322.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.007648, allocations: 8 kB / 322.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.007802, allocations: 63.89 kB / 322.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.451e-05/0.007877, allocations: 43.78 kB / 322.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.813e-05/0.007945, allocations: 43.84 kB / 322.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.008288, allocations: 207.3 kB / 322.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.008292, allocations: 0 / 322.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.008294, allocations: 4 kB / 322.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.008298, allocations: 0 / 322.6 MB, free: 2.223 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00079/0.009088, allocations: 450.7 kB / 323 MB, free: 1.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.009132, allocations: 12.91 kB / 323 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.009173, allocations: 38.75 kB / 323 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.009229, allocations: 20.8 kB / 323.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.009572, allocations: 212.8 kB / 323.3 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.009592, allocations: 12.38 kB / 323.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.009608, allocations: 4.375 kB / 323.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.009951, allocations: 159 kB / 323.4 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.00996, allocations: 0 / 323.4 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.009973, allocations: 0 / 323.4 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.00998, allocations: 4 kB / 323.4 MB, free: 1.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.01009, allocations: 39.92 kB / 323.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.01062, allocations: 413.6 kB / 323.9 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.01084, allocations: 130.5 kB / 324 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.277e-05/0.01092, allocations: 55.42 kB / 324.1 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.01095, allocations: 3.938 kB / 324.1 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.01112, allocations: 97.16 kB / 324.2 MB, free: 396 kB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.01112, allocations: 0 / 324.2 MB, free: 396 kB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003775/0.0115, allocations: 165.4 kB / 324.3 MB, free: 224 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/0.01169, allocations: 132.5 kB / 324.5 MB, free: 60 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.01197, allocations: 273.7 kB / 324.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.01199, allocations: 29.7 kB / 324.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.01207, allocations: 120.4 kB / 324.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.0121, allocations: 19.83 kB / 324.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.01215, allocations: 29.66 kB / 324.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.01225, allocations: 334.8 kB / 325.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-05/0.01231, allocations: 20.38 kB / 325.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.01239, allocations: 81.11 kB / 325.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.0125, allocations: 62.5 kB / 325.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01251, allocations: 0 / 325.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001835/0.01269, allocations: 105.8 kB / 325.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.01271, allocations: 8 kB / 325.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01271, allocations: 0 / 325.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.01273, allocations: 3.984 kB / 325.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.0128, allocations: 20.08 kB / 325.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01281, allocations: 7.938 kB / 325.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.01287, allocations: 4 kB / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.01288, allocations: 11.98 kB / 325.6 MB, free: 14.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001176/0.013, allocations: 142.4 kB / 325.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.073e-05/0.01309, allocations: 69.55 kB / 325.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.01333, allocations: 115.4 kB / 325.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.01334, allocations: 0 / 325.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.01334, allocations: 4 kB / 325.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.01335, allocations: 8.047 kB / 325.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.01354, allocations: 192.6 kB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01355, allocations: 0 / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.01358, allocations: 8 kB / 326.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01358, allocations: 0 / 326.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.0136, allocations: 4 kB / 326.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.0136, allocations: 3.984 kB / 326.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.0136, allocations: 4 kB / 326.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.01385, allocations: 175.4 kB / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.01393, allocations: 47.7 kB / 326.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.01396, allocations: 4 kB / 326.3 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.291e-05/0.01402, allocations: 8 kB / 326.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.01406, allocations: 7.984 kB / 326.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.01408, allocations: 4 kB / 326.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001872/0.01427, allocations: 197.2 kB / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01427, allocations: 0 / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002857/0.01456, allocations: 31.98 kB / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001431/0.01599, allocations: 1.062 MB / 327.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.0162, allocations: 63.91 kB / 327.7 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01621, allocations: 0 / 327.7 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.284e-05/0.01628, allocations: 35.92 kB / 327.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.01668, allocations: 76.31 kB / 327.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.01902, allocations: 1.93 MB / 329.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.01913, allocations: 123.5 kB / 329.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.316e-05/0.01921, allocations: 29.61 kB / 329.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.0193, allocations: 52.48 kB / 329.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0193, allocations: 4 kB / 329.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.04074, allocations: 5.558 MB / 335.5 MB, free: 4.949 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/7.151, allocations: 3.438 kB / 335.5 MB, free: 4.949 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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: 8.828573890961707]