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.0007633/0.0007633, allocations: 80 kB / 21.43 MB, free: 3.133 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.003054/0.003054, allocations: 139.5 kB / 24.68 MB, free: 8.883 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.8534/0.8534, allocations: 173.4 MB / 201.2 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: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 319.7 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.729e-05, allocations: 2.281 kB / 319.7 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003249/0.003276, allocations: 1.868 MB / 321.6 MB, free: 4 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.004898, allocations: 1.024 MB / 322.6 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.005021, allocations: 3.938 kB / 322.6 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.0057, allocations: 175.3 kB / 322.8 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.005987, allocations: 118.5 kB / 322.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.006513, allocations: 202 kB / 323.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.006765, allocations: 191.4 kB / 323.3 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.006887, allocations: 29.72 kB / 323.3 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.00704, allocations: 103.7 kB / 323.4 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.007158, allocations: 71.8 kB / 323.5 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.007185, allocations: 12 kB / 323.5 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.007327, allocations: 55.95 kB / 323.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.007402, allocations: 43.83 kB / 323.6 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.007469, allocations: 39.86 kB / 323.6 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.007802, allocations: 215.2 kB / 323.8 MB, free: 1.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.007806, allocations: 4 kB / 323.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.007807, allocations: 0 / 323.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.007813, allocations: 0 / 323.8 MB, free: 1.73 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.0007346/0.008547, allocations: 454 kB / 324.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.008587, allocations: 12.03 kB / 324.3 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.008641, allocations: 20.8 kB / 324.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.00897, allocations: 212.8 kB / 324.5 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.008988, allocations: 4.375 kB / 324.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.009005, allocations: 8.375 kB / 324.5 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.009352, allocations: 151.3 kB / 324.7 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.009364, allocations: 11.88 kB / 324.7 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.009378, allocations: 4 kB / 324.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.009383, allocations: 0 / 324.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.009497, allocations: 43.91 kB / 324.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.009994, allocations: 378.3 kB / 325.1 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.01021, allocations: 138.5 kB / 325.2 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.573e-05/0.01028, allocations: 51.42 kB / 325.3 MB, free: 100 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.0103, allocations: 4 kB / 325.3 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.01049, allocations: 101 kB / 325.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.01049, allocations: 0 / 325.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003605/0.01085, allocations: 165.4 kB / 325.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.01091, allocations: 132.5 kB / 325.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.01109, allocations: 265.8 kB / 325.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.01111, allocations: 30.08 kB / 326 MB, free: 15.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.01117, allocations: 120.4 kB / 326.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.01119, allocations: 23.83 kB / 326.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.01123, allocations: 29.72 kB / 326.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.0113, allocations: 326.8 kB / 326.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.335e-05/0.01134, allocations: 23.88 kB / 326.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.0114, allocations: 81.11 kB / 326.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.235e-05/0.01147, allocations: 66.45 kB / 326.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.01147, allocations: 0 / 326.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001142/0.01158, allocations: 113.8 kB / 326.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.0116, allocations: 4 kB / 326.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.0116, allocations: 8.062 kB / 326.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.01161, allocations: 0 / 326.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.444e-05/0.01167, allocations: 11.98 kB / 326.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.01167, allocations: 4 kB / 326.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.01171, allocations: 0 / 326.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.01172, allocations: 4 kB / 326.8 MB, free: 14.49 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 8.349e-05/0.0118, allocations: 146.5 kB / 326.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.01186, allocations: 77.48 kB / 327 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.012, allocations: 111.5 kB / 327.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.012, allocations: 7.938 kB / 327.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.01201, allocations: 0 / 327.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01201, allocations: 3.938 kB / 327.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.01213, allocations: 173.1 kB / 327.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01213, allocations: 0 / 327.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.01215, allocations: 11.98 kB / 327.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01215, allocations: 0 / 327.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.01216, allocations: 12.06 kB / 327.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01216, allocations: 0 / 327.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01217, allocations: 0 / 327.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.01231, allocations: 179.4 kB / 327.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.01236, allocations: 31.89 kB / 327.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.01238, allocations: 3.984 kB / 327.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.104e-05/0.01241, allocations: 8 kB / 327.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.01244, allocations: 7.984 kB / 327.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.01245, allocations: 4 kB / 327.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.01257, allocations: 197.2 kB / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01257, allocations: 4 kB / 327.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.01274, allocations: 35.89 kB / 327.7 MB, free: 13.42 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.0006793/0.01342, allocations: 456 kB / 328.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.01356, allocations: 67.91 kB / 328.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01356, allocations: 0 / 328.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.441e-05/0.01361, allocations: 31.98 kB / 328.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.01388, allocations: 75.62 kB / 328.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.01429, allocations: 359.5 kB / 328.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.774e-05/0.01437, allocations: 123.7 kB / 328.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.01441, allocations: 20.5 kB / 328.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01441, allocations: 192 / 328.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of Templates: time 0.003615/0.01802, allocations: 2.731 MB / 331.6 MB, free: 9.707 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] 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: 4.3212126567959785]