Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.001837/0.001838, allocations: 118.5 kB / 18.41 MB, free: 4.555 MB / 14.72 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.002173/0.002173, allocations: 186.7 kB / 21.35 MB, free: 1.621 MB / 14.72 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 1.418/1.418, allocations: 222.9 MB / 247 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] 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.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 47.92 kB / 358.7 MB, free: 8.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09041/0.09202, allocations: 49.44 MB / 408.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003617/0.09568, allocations: 1.97 MB / 410.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.09774, allocations: 1.106 MB / 411.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.09797, allocations: 8 kB / 411.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.0986, allocations: 155.5 kB / 411.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.09895, allocations: 119.5 kB / 411.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/0.09967, allocations: 242.1 kB / 411.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.1, allocations: 227.4 kB / 411.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1002, allocations: 48.22 kB / 412 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.1003, allocations: 95.61 kB / 412.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1005, allocations: 95.48 kB / 412.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.1005, allocations: 12 kB / 412.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.1007, allocations: 67.95 kB / 412.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.839e-05/0.1008, allocations: 51.83 kB / 412.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.1009, allocations: 87.41 kB / 412.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.1013, allocations: 254.9 kB / 412.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1014, allocations: 0 / 412.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1014, allocations: 0 / 412.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.1014, allocations: 0 / 412.6 MB, free: 2.312 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008831/0.1023, allocations: 0.5582 MB / 413.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1023, allocations: 19.83 kB / 413.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.1024, allocations: 36.73 kB / 413.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.1028, allocations: 279 kB / 413.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1028, allocations: 8.375 kB / 413.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.1028, allocations: 20.06 kB / 413.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.1034, allocations: 301.3 kB / 413.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1034, allocations: 11.88 kB / 413.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1034, allocations: 0 / 413.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.1035, allocations: 4 kB / 413.8 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.1036, allocations: 59.97 kB / 413.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.1041, allocations: 382.3 kB / 414.3 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.1045, allocations: 172 kB / 414.4 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.1046, allocations: 86.61 kB / 414.5 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.1047, allocations: 7.938 kB / 414.5 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.1048, allocations: 79.38 kB / 414.6 MB, free: 104 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 2.365e-06/0.1048, allocations: 0 / 414.6 MB, free: 104 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005412/0.1054, allocations: 225.3 kB / 414.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.1055, allocations: 140.5 kB / 415 MB, free: 15.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.1058, allocations: 276.9 kB / 415.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.1058, allocations: 37.7 kB / 415.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.1059, allocations: 120.7 kB / 415.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.106, allocations: 27.84 kB / 415.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.513e-05/0.1061, allocations: 53.89 kB / 415.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1062, allocations: 338.8 kB / 415.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.1063, allocations: 40.64 kB / 415.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.1065, allocations: 167.7 kB / 416 MB, free: 14.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.1068, allocations: 207.2 kB / 416.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1068, allocations: 384 / 416.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003775/0.1072, allocations: 217.6 kB / 416.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1072, allocations: 12.06 kB / 416.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1072, allocations: 4 kB / 416.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1073, allocations: 11.94 kB / 416.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.1074, allocations: 19.92 kB / 416.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.1074, allocations: 11.94 kB / 416.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.1075, allocations: 27.81 kB / 416.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.1075, allocations: 12 kB / 416.5 MB, free: 14 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001583/0.1077, allocations: 160 kB / 416.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.1079, allocations: 129.8 kB / 416.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.108, allocations: 25.72 kB / 416.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.108, allocations: 3.984 kB / 416.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.108, allocations: 4 kB / 416.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.108, allocations: 3.938 kB / 416.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.1082, allocations: 249.4 kB / 417.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1083, allocations: 0 / 417.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.1083, allocations: 19.92 kB / 417.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1083, allocations: 0 / 417.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1083, allocations: 4 kB / 417.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1083, allocations: 4.078 kB / 417.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.1084, allocations: 12.05 kB / 417.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.1087, allocations: 223.8 kB / 417.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.1089, allocations: 124.8 kB / 417.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.1089, allocations: 4 kB / 417.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.109, allocations: 11.98 kB / 417.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.1091, allocations: 8 kB / 417.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.1091, allocations: 11.98 kB / 417.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.1093, allocations: 188.5 kB / 417.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1093, allocations: 4 kB / 417.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.1096, allocations: 43.92 kB / 417.7 MB, free: 12.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.001505/0.1111, allocations: 433.2 kB / 418.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.1115, allocations: 147.6 kB / 418.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1115, allocations: 0 / 418.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.1116, allocations: 24 kB / 418.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.112, allocations: 113.3 kB / 418.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006949/0.1128, allocations: 430.7 kB / 418.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.1131, allocations: 0.7556 MB / 419.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.1132, allocations: 19.44 kB / 419.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1132, allocations: 4 kB / 419.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Templates: time 0.006324/0.1195, allocations: 3.25 MB / 422.9 MB, free: 7.648 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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: 7.536935664014891]