Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.0009462/0.0009462, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001011/0.001011, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9907/0.9907, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 3.984 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.591e-05, allocations: 2.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.00275/0.002766, allocations: 1.99 MB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.004215, allocations: 1.188 MB / 276.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.004361, allocations: 7.938 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005415/0.004903, allocations: 159.3 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.005182, allocations: 155.3 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.005538, allocations: 175.2 kB / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.005722, allocations: 195.4 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.005805, allocations: 18.45 kB / 277.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.005921, allocations: 103.7 kB / 277.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.006008, allocations: 67.8 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.006025, allocations: 8 kB / 277.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.006132, allocations: 67.83 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.006181, allocations: 43.84 kB / 277.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.00622, allocations: 39.84 kB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.006412, allocations: 159.3 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.006414, allocations: 0 / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006414, allocations: 0 / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.006418, allocations: 0 / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003849/0.006803, allocations: 425.3 kB / 278.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.006832, allocations: 8.031 kB / 278.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.006866, allocations: 16.92 kB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.007055, allocations: 213.5 kB / 278.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.007068, allocations: 8.375 kB / 278.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.007077, allocations: 4.375 kB / 278.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.007242, allocations: 133.2 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.00725, allocations: 3.938 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.007256, allocations: 0 / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.00726, allocations: 4 kB / 278.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.186e-05/0.007292, allocations: 22.75 kB / 278.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.007507, allocations: 199.5 kB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.007611, allocations: 134.6 kB / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.007637, allocations: 26.58 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.007651, allocations: 3.938 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.845e-05/0.00773, allocations: 78.14 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.007731, allocations: 0 / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.000118/0.007849, allocations: 77.61 kB / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.007892, allocations: 110.7 kB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.008021, allocations: 234.7 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.008036, allocations: 29.7 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.008074, allocations: 104.5 kB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.00809, allocations: 11.91 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.008121, allocations: 29.69 kB / 279.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.008204, allocations: 327 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.008219, allocations: 18.77 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.127e-05/0.00825, allocations: 52.27 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/0.008286, allocations: 35.34 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.008288, allocations: 256 / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.413e-05/0.008352, allocations: 76.38 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.008361, allocations: 4 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.008365, allocations: 4 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.006e-06/0.008374, allocations: 0 / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.00842, allocations: 8.062 kB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.008422, allocations: 7.938 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.008452, allocations: 11.94 kB / 280.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.008458, allocations: 4 kB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.882e-05/0.008517, allocations: 123 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.008551, allocations: 57.55 kB / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.092e-05/0.008632, allocations: 71.45 kB / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.008635, allocations: 4 kB / 280.5 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.008637, allocations: 0 / 280.5 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.00864, allocations: 4.062 kB / 280.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.203e-05/0.008722, allocations: 105.8 kB / 280.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.008723, allocations: 0 / 280.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/0.008739, allocations: 4 kB / 280.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.008741, allocations: 4 kB / 280.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.008748, allocations: 7.938 kB / 280.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.00875, allocations: 7.938 kB / 280.6 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008751, allocations: 0 / 280.6 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.88e-05/0.00882, allocations: 104.5 kB / 280.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.008853, allocations: 23.86 kB / 280.7 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.008871, allocations: 11.92 kB / 280.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.741e-05/0.008899, allocations: 8 kB / 280.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.008923, allocations: 7.984 kB / 280.7 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.008932, allocations: 4 kB / 280.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.904e-05/0.008991, allocations: 81.61 kB / 280.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008991, allocations: 0 / 280.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001267/0.009118, allocations: 27.94 kB / 280.9 MB, free: 9.539 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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,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 (10): * Single equations (assignments): 8 * 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.0009567/0.01007, allocations: 0.5239 MB / 281.4 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.621e-05/0.01015, allocations: 40.78 kB / 281.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01015, allocations: 0 / 281.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.801e-05/0.01018, allocations: 24.84 kB / 281.4 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.01035, allocations: 61.2 kB / 281.5 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.01066, allocations: 304.2 kB / 281.8 MB, free: 8.785 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.825e-05/0.0107, allocations: 79.83 kB / 281.9 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.064e-05/0.01074, allocations: 25.72 kB / 281.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.01081, allocations: 75.36 kB / 282 MB, free: 8.586 MB / 266.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01081, allocations: 0 / 282 MB, free: 8.586 MB / 266.7 MB Notification: Performance of Templates: time 0.004114/0.01492, allocations: 2.869 MB / 284.8 MB, free: 5.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6450109630823135]