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.001973/0.001973, allocations: 84.66 kB / 20.95 MB, free: 3.449 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.00211/0.00211, allocations: 149.1 kB / 24.25 MB, free: 156 kB / 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 1.434/1.434, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 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 1.513e-06/1.513e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.526e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003631/0.003656, allocations: 1.964 MB / 269.3 MB, free: 4.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.006008, allocations: 1.071 MB / 270.4 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.006122, allocations: 7.938 kB / 270.4 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006902/0.006812, allocations: 159.3 kB / 270.5 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.007139, allocations: 119.5 kB / 270.6 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006633/0.007803, allocations: 247.1 kB / 270.9 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.008115, allocations: 223.4 kB / 271.1 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.008244, allocations: 32.52 kB / 271.1 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.008437, allocations: 123.6 kB / 271.2 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.00858, allocations: 83.77 kB / 271.3 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.008613, allocations: 12 kB / 271.3 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.008763, allocations: 67.89 kB / 271.4 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.008852, allocations: 55.77 kB / 271.5 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.38e-05/0.008936, allocations: 47.84 kB / 271.5 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.009336, allocations: 259.1 kB / 271.8 MB, free: 2.258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.009339, allocations: 0 / 271.8 MB, free: 2.258 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00934, allocations: 0 / 271.8 MB, free: 2.258 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.009344, allocations: 0 / 271.8 MB, free: 2.258 MB / 250.7 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.0008085/0.01015, allocations: 486.5 kB / 272.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.01019, allocations: 12.02 kB / 272.2 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.313e-05/0.01028, allocations: 36.8 kB / 272.3 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.01066, allocations: 228.8 kB / 272.5 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.01069, allocations: 12.38 kB / 272.5 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.01072, allocations: 16.31 kB / 272.5 MB, free: 1.422 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.01131, allocations: 289.5 kB / 272.8 MB, free: 1.121 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.01132, allocations: 3.938 kB / 272.8 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.01133, allocations: 4 kB / 272.8 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.01134, allocations: 0 / 272.8 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.01151, allocations: 67.91 kB / 272.9 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.01202, allocations: 306.1 kB / 273.2 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.01239, allocations: 171.9 kB / 273.4 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.01254, allocations: 78.55 kB / 273.4 MB, free: 440 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.01257, allocations: 7.984 kB / 273.4 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.01275, allocations: 79.28 kB / 273.5 MB, free: 340 kB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.502e-06/0.01275, allocations: 0 / 273.5 MB, free: 340 kB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005673/0.01331, allocations: 233.8 kB / 273.7 MB, free: 100 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.01343, allocations: 126.7 kB / 273.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.01377, allocations: 273.7 kB / 274.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.01379, allocations: 33.7 kB / 274.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.01389, allocations: 112.6 kB / 274.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.01393, allocations: 23.84 kB / 274.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.314e-05/0.01401, allocations: 45.59 kB / 274.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.01419, allocations: 330.8 kB / 274.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/0.01427, allocations: 27.98 kB / 274.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.01441, allocations: 107.7 kB / 274.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.0146, allocations: 113.2 kB / 274.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01461, allocations: 0 / 274.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002861/0.01489, allocations: 149.4 kB / 275.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01491, allocations: 4 kB / 275.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.01492, allocations: 4 kB / 275.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.01494, allocations: 3.984 kB / 275.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.441e-05/0.01503, allocations: 12.16 kB / 275.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.01503, allocations: 11.92 kB / 275.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.597e-05/0.01512, allocations: 15.95 kB / 275.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.01513, allocations: 7.938 kB / 275.1 MB, free: 14.61 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,$CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * 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 (16): * Single equations (assignments): 16 * 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.0001658/0.0153, allocations: 153.7 kB / 275.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.01553, allocations: 137.5 kB / 275.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.0158, allocations: 119.8 kB / 275.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.0158, allocations: 0 / 275.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.01581, allocations: 4 kB / 275.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01582, allocations: 0 / 275.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.01604, allocations: 181.1 kB / 275.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.01605, allocations: 3.984 kB / 275.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.0161, allocations: 11.94 kB / 275.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.0161, allocations: 0 / 275.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.01612, allocations: 8 kB / 275.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01612, allocations: 0 / 275.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01612, allocations: 80 / 275.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.01654, allocations: 242.4 kB / 276 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/0.01664, allocations: 43.77 kB / 276 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.01668, allocations: 11.98 kB / 276 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/0.01676, allocations: 16.06 kB / 276 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.0168, allocations: 11.92 kB / 276 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.01682, allocations: 4 kB / 276 MB, free: 13.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002356/0.01706, allocations: 201.2 kB / 276.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01706, allocations: 4 kB / 276.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.01734, allocations: 32 kB / 276.3 MB, free: 13.38 MB / 266.7 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.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * 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 (23): * Single equations (assignments): 21 * 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.002006/0.01934, allocations: 459.1 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005259/0.01987, allocations: 107.8 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01987, allocations: 4 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.556e-05/0.01996, allocations: 31.97 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.02048, allocations: 120.5 kB / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007686/0.02125, allocations: 403.6 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.02142, allocations: 144.9 kB / 277.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.667e-05/0.0215, allocations: 34.3 kB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.02157, allocations: 24.5 kB / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.02157, allocations: 0 / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of Templates: time 0.007773/0.02934, allocations: 3.103 MB / 280.7 MB, free: 9.148 MB / 266.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.393939159926958]